tensorflow::ops::RecordInput::Attrs
#include <data_flow_ops.h>Các 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ô hàng. |
CompressionType (StringPiece x) | TF_MUST_USE_RESULT Attrs Loại nén 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 sstable được mở và được duyệt đồng thời? |
FileRandomSeed (int64 x) | TF_MUST_USE_RESULT Attrs Các 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 Thay đổi thứ tự các tệp sau khi danh sách đã được xáo trộn ngẫu nhiên. |
Thuộc tính công khai
kích thước lô
int64 tensorflow::ops::RecordInput::Attrs::batch_size_ = 32
loại_nén
StringPiece tensorflow::ops::RecordInput::Attrs::compression_type_ = ""
kích thước bộ đệm tệp
int64 tensorflow::ops::RecordInput::Attrs::file_buffer_size_ = 10000
song song tệp
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
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ô hàng.
Mặc định là 32
Loại nén
TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::CompressionType( StringPiece x )
Loại nén tệp tin.
Hiện tại, ZLIB và GZIP được hỗ trợ. Mặc định là không hỗ trợ.
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
Song song hóa tệp
TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::FileParallelism( int64 x )
Có bao nhiêu sstable được mở và được duyệt đồng thời?
Mặc định là 16
FileRandomSeed
TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::FileRandomSeed( int64 x )
Các 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
FileShuffleShiftRatio
TF_MUST_USE_RESULT Attrs tensorflow::ops::RecordInput::Attrs::FileShuffleShiftRatio( float x )
Thay đổi thứ tự các tệp sau khi danh sách đã được xáo trộn ngẫu nhiên.
Mặc định là 0