dòng chảy căng:: ôi:: Bản ghi đầu vào:: Attr

#include <data_flow_ops.h>

Trình thiết lập thuộc tính tùy chọn cho RecordInput .

Bản tóm tắt

Thuộc tính công khai

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

Chức năng công cộng

BatchSize (int64 x)
TF_MUST_USE_RESULT Attrs
Kích thước lô.
CompressionType (StringPiece x)
TF_MUST_USE_RESULT Attrs
Kiểu nén của tập tin.
FileBufferSize (int64 x)
TF_MUST_USE_RESULT Attrs
Bộ đệm xáo trộn ngẫu nhiên.
FileParallelism (int64 x)
TF_MUST_USE_RESULT Attrs
Có bao nhiêu sstables được mở và lặp lại đồng thời.
FileRandomSeed (int64 x)
TF_MUST_USE_RESULT Attrs
Hạt giống ngẫu nhiên được sử dụng để tạo ra các bản ghi ngẫu nhiên.
FileShuffleShiftRatio (float x)
TF_MUST_USE_RESULT Attrs
Chuyển danh sách các tập tin sau khi danh sách được xáo trộn ngẫu nhiên.

Thuộc tính công khai

lô_size_

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

nén_type_

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

tập tin_buffer_size_

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

tập tin_song song_

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

tập tin_random_seed_

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

tập tin_shuffle_shift_ratio_

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

Chức năng công cộng

Kích thước lô

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

Kích thước lô.

Mặc định là 32

Kiểu nén

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

Kiểu nén của tập tin.

Hiện tại ZLIB và GZIP được hỗ trợ. Mặc định là không có.

Mặc định là ""

Kích thước bộ đệm tệp

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

Bộ đệm xáo trộn ngẫu nhiên.

Mặc định là 10000

Tập tin song song

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

Có bao nhiêu sstables được mở và lặp lại đồng thời.

Mặc định là 16

Tập tinHạt giống ngẫu nhiên

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

Hạt giống ngẫu nhiên được sử dụng để tạo ra các bản ghi ngẫu nhiên.

Mặc định là 301

TệpShuffleShiftTỷ lệ

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

Chuyển danh sách các tập tin sau khi danh sách được xáo trộn ngẫu nhiên.

Mặc định là 0