tensoreflusso:: ops:: Lettore di record a lunghezza fissa

#include <io_ops.h>

Un lettore che genera record di lunghezza fissa da un file.

Riepilogo

Argomenti:

  • scope: un oggetto Scope
  • record_bytes: numero di byte nel record.

Attributi facoltativi (vedi Attrs ):

  • header_bytes: numero di byte nell'intestazione, il valore predefinito è 0.
  • footer_bytes: numero di byte nel piè di pagina, il valore predefinito è 0.
  • hop_bytes: numero di byte da saltare prima di ogni lettura. Il valore predefinito 0 significa utilizzare record_bytes.
  • contenitore: se non vuoto, questo lettore viene inserito nel contenitore indicato. Altrimenti, viene utilizzato un contenitore predefinito.
  • shared_name: se non vuoto, questo lettore viene nominato nel bucket specificato con questo shared_name. In caso contrario, viene utilizzato il nome del nodo.
  • codifica: il tipo di codifica per il file. Attualmente sono supportati ZLIB e GZIP. Il valore predefinito è nessuno.

Ritorna:

  • Output : l'handle per fare riferimento al Reader.

Costruttori e distruttori

FixedLengthRecordReader (const :: tensorflow::Scope & scope, int64 record_bytes)
FixedLengthRecordReader (const :: tensorflow::Scope & scope, int64 record_bytes, const FixedLengthRecordReader::Attrs & attrs)

Attributi pubblici

operation
reader_handle

Funzioni pubbliche

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

Funzioni pubbliche statiche

Container (StringPiece x)
Encoding (StringPiece x)
FooterBytes (int64 x)
HeaderBytes (int64 x)
HopBytes (int64 x)
SharedName (StringPiece x)

Strutture

tensorflow:: ops:: FixedLengthRecordReader:: Attrs

Setter di attributi facoltativi per FixedLengthRecordReader .

Attributi pubblici

operazione

Operation operation

lettore_handle

::tensorflow::Output reader_handle

Funzioni pubbliche

Lettore di record a lunghezza fissa

 FixedLengthRecordReader(
  const ::tensorflow::Scope & scope,
  int64 record_bytes
)

Lettore di record a lunghezza fissa

 FixedLengthRecordReader(
  const ::tensorflow::Scope & scope,
  int64 record_bytes,
  const FixedLengthRecordReader::Attrs & attrs
)

nodo

::tensorflow::Node * node() const 

operatore::tensorflow::Input

 operator::tensorflow::Input() const 

operatore::tensorflow::Output

 operator::tensorflow::Output() const 

Funzioni pubbliche statiche

Contenitore

Attrs Container(
  StringPiece x
)

Codifica

Attrs Encoding(
  StringPiece x
)

FooterBytes

Attrs FooterBytes(
  int64 x
)

HeaderBytes

Attrs HeaderBytes(
  int64 x
)

HopBytes

Attrs HopBytes(
  int64 x
)

Nome condiviso

Attrs SharedName(
  StringPiece x
)