tensorflow :: ops :: FixedLengthRecordReader :: Attrs
#include <io_ops.h>
Configuradores de atributos opcionais para FixedLengthRecordReader .
Resumo
Atributos públicos | |
---|---|
container_ = "" | StringPiece |
encoding_ = "" | StringPiece |
footer_bytes_ = 0 | int64 |
header_bytes_ = 0 | int64 |
hop_bytes_ = 0 | int64 |
shared_name_ = "" | StringPiece |
Funções públicas | |
---|---|
Container (StringPiece x) | TF_MUST_USE_RESULT Attrs Se não estiver vazio, este leitor é colocado no recipiente fornecido. |
Encoding (StringPiece x) | TF_MUST_USE_RESULT Attrs O tipo de codificação do arquivo. |
FooterBytes (int64 x) | TF_MUST_USE_RESULT Attrs Número de bytes no rodapé, o padrão é 0. |
HeaderBytes (int64 x) | TF_MUST_USE_RESULT Attrs Número de bytes no cabeçalho, o padrão é 0. |
HopBytes (int64 x) | TF_MUST_USE_RESULT Attrs Número de bytes a saltar antes de cada leitura. |
SharedName (StringPiece x) | TF_MUST_USE_RESULT Attrs Se não estiver vazio, este leitor é nomeado no intervalo fornecido com este shared_name. |
Atributos públicos
recipiente_
StringPiece tensorflow::ops::FixedLengthRecordReader::Attrs::container_ = ""
codificação_
StringPiece tensorflow::ops::FixedLengthRecordReader::Attrs::encoding_ = ""
footer_bytes_
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
shared_name_
StringPiece tensorflow::ops::FixedLengthRecordReader::Attrs::shared_name_ = ""
Funções públicas
Recipiente
TF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::Container( StringPiece x )
Se não estiver vazio, este leitor é colocado no recipiente fornecido.
Caso contrário, um contêiner padrão é usado.
O padrão é ""
Codificação
TF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::Encoding( StringPiece x )
O tipo de codificação do arquivo.
Atualmente, ZLIB e GZIP são suportados. O padrão é nenhum.
O padrão é ""
FooterBytes
TF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::FooterBytes( int64 x )
Número de bytes no rodapé, o padrão é 0.
Padrões para 0
HeaderBytes
TF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::HeaderBytes( int64 x )
Número de bytes no cabeçalho, o padrão é 0.
Padrões para 0
HopBytes
TF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::HopBytes( int64 x )
Número de bytes a saltar antes de cada leitura.
O padrão de 0 significa usar record_bytes.
Padrões para 0
SharedName
TF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::SharedName( StringPiece x )
Se não estiver vazio, este leitor é nomeado no intervalo fornecido com este shared_name.
Caso contrário, o nome do nó será usado.
O padrão é ""