tensorflow :: ops :: RecordInput :: Attrs

#include <data_flow_ops.h>

Configuradores de atributos opcionais para RecordInput .

Resumo

Atributos públicos

batch_size_ = 32
int64
compression_type_ = ""
StringPiece
file_buffer_size_ = 10000
int64
file_parallelism_ = 16
int64
file_random_seed_ = 301
int64
file_shuffle_shift_ratio_ = 0.0f
float

Funções públicas

BatchSize (int64 x)
TF_MUST_USE_RESULT Attrs
O tamanho do lote.
CompressionType (StringPiece x)
TF_MUST_USE_RESULT Attrs
O tipo de compactação do arquivo.
FileBufferSize (int64 x)
TF_MUST_USE_RESULT Attrs
O buffer de embaralhamento de randomização.
FileParallelism (int64 x)
TF_MUST_USE_RESULT Attrs
Quantos sstables são abertos e iterados simultaneamente.
FileRandomSeed (int64 x)
TF_MUST_USE_RESULT Attrs
Sementes aleatórias usadas para produzir registros aleatórios.
FileShuffleShiftRatio (float x)
TF_MUST_USE_RESULT Attrs
Muda a lista de arquivos depois que a lista é embaralhada aleatoriamente.

Atributos públicos

tamanho do batch_

int64 tensorflow::ops::RecordInput::Attrs::batch_size_ = 32

compressão_tipo_

StringPiece tensorflow::ops::RecordInput::Attrs::compression_type_ = ""

file_buffer_size_

int64 tensorflow::ops::RecordInput::Attrs::file_buffer_size_ = 10000

file_parallelism_

int64 tensorflow::ops::RecordInput::Attrs::file_parallelism_ = 16

file_random_seed_

int64 tensorflow::ops::RecordInput::Attrs::file_random_seed_ = 301

file_shuffle_shift_ratio_

float tensorflow::ops::RecordInput::Attrs::file_shuffle_shift_ratio_ = 0.0f

Funções públicas

Tamanho do batch

TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::BatchSize(
  int64 x
)

O tamanho do lote.

O padrão é 32

CompressionType

TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::CompressionType(
  StringPiece x
)

O tipo de compactação do arquivo.

Atualmente, ZLIB e GZIP são suportados. O padrão é nenhum.

O padrão é ""

FileBufferSize

TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::FileBufferSize(
  int64 x
)

O buffer de embaralhamento de randomização.

O padrão é 10000

FileParallelism

TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::FileParallelism(
  int64 x
)

Quantos sstables são abertos e iterados simultaneamente.

Padrões para 16

FileRandomSeed

TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::FileRandomSeed(
  int64 x
)

Sementes aleatórias usadas para produzir registros aleatórios.

O padrão é 301

FileShuffleShiftRatio

TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::FileShuffleShiftRatio(
  float x
)

Muda a lista de arquivos depois que a lista é embaralhada aleatoriamente.

Padrões para 0