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

#include <io_ops.h>

Setter di attributi facoltativi per FixedLengthRecordReader .

Riepilogo

Attributi pubblici

container_ = ""
StringPiece
encoding_ = ""
StringPiece
footer_bytes_ = 0
int64
header_bytes_ = 0
int64
hop_bytes_ = 0
int64
shared_name_ = ""
StringPiece

Funzioni pubbliche

Container (StringPiece x)
TF_MUST_USE_RESULT Attrs
Se non vuoto, questo lettore viene inserito nel contenitore indicato.
Encoding (StringPiece x)
TF_MUST_USE_RESULT Attrs
Il tipo di codifica per il file.
FooterBytes (int64 x)
TF_MUST_USE_RESULT Attrs
Numero di byte nel piè di pagina, il valore predefinito è 0.
HeaderBytes (int64 x)
TF_MUST_USE_RESULT Attrs
Numero di byte nell'intestazione, il valore predefinito è 0.
HopBytes (int64 x)
TF_MUST_USE_RESULT Attrs
Numero di byte da saltare prima di ogni lettura.
SharedName (StringPiece x)
TF_MUST_USE_RESULT Attrs
Se non vuoto, questo lettore viene nominato nel bucket specificato con questo shared_name.

Attributi pubblici

contenitore_

StringPiece tensorflow::ops::FixedLengthRecordReader::Attrs::container_ = ""

codifica_

StringPiece tensorflow::ops::FixedLengthRecordReader::Attrs::encoding_ = ""
int64 tensorflow::ops::FixedLengthRecordReader::Attrs::footer_bytes_ = 0

header_bytes_

int64 tensorflow::ops::FixedLengthRecordReader::Attrs::header_bytes_ = 0

hop_bytes_

int64 tensorflow::ops::FixedLengthRecordReader::Attrs::hop_bytes_ = 0

nome_condiviso_

StringPiece tensorflow::ops::FixedLengthRecordReader::Attrs::shared_name_ = ""

Funzioni pubbliche

Contenitore

TF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::Container(
  StringPiece x
)

Se non vuoto, questo lettore viene inserito nel contenitore indicato.

Altrimenti, viene utilizzato un contenitore predefinito.

Il valore predefinito è ""

Codifica

TF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::Encoding(
  StringPiece x
)

Il tipo di codifica per il file.

Attualmente sono supportati ZLIB e GZIP. Il valore predefinito è nessuno.

Il valore predefinito è ""

FooterBytes

TF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::FooterBytes(
  int64 x
)

Numero di byte nel piè di pagina, il valore predefinito è 0.

Il valore predefinito è 0

HeaderBytes

TF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::HeaderBytes(
  int64 x
)

Numero di byte nell'intestazione, il valore predefinito è 0.

Il valore predefinito è 0

HopBytes

TF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::HopBytes(
  int64 x
)

Numero di byte da saltare prima di ogni lettura.

Il valore predefinito 0 significa utilizzare record_bytes.

Il valore predefinito è 0

Nome condiviso

TF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::SharedName(
  StringPiece x
)

Se non vuoto, questo lettore viene nominato nel bucket specificato con questo shared_name.

In caso contrario, viene utilizzato il nome del nodo.

Il valore predefinito è ""