tensorflow :: ops :: RecordInput
#include <data_flow_ops.h>
Memancarkan rekaman acak.
Ringkasan
Argumen:
- scope: Objek Scope
- file_pattern: Pola globe untuk file data.
Atribut opsional (lihat Attrs
):
- file_random_seed: Benih acak yang digunakan untuk menghasilkan catatan acak.
- file_shuffle_shift_ratio: Menggeser daftar file setelah daftar diacak secara acak.
- file_buffer_size: Buffer pengacakan pengacakan.
- file_parallelism: Berapa banyak sstable yang dibuka dan diulang secara bersamaan.
- batch_size: Ukuran batch.
- jenis_kompresi: Jenis kompresi untuk file. Saat ini ZLIB dan GZIP didukung. Secara default tidak ada.
Pengembalian:
-
Output
: Tensor bentuk [batch_size].
Pembuat dan Penghancur | |
---|---|
RecordInput (const :: tensorflow::Scope & scope, StringPiece file_pattern) | |
RecordInput (const :: tensorflow::Scope & scope, StringPiece file_pattern, const RecordInput::Attrs & attrs) |
Atribut publik | |
---|---|
operation | |
records |
Fungsi publik | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Fungsi statis publik | |
---|---|
BatchSize (int64 x) | |
CompressionType (StringPiece x) | |
FileBufferSize (int64 x) | |
FileParallelism (int64 x) | |
FileRandomSeed (int64 x) | |
FileShuffleShiftRatio (float x) |
Structs | |
---|---|
tensorflow :: ops :: RecordInput :: Attrs | Penyetel atribut opsional untuk RecordInput . |
Atribut publik
operasi
Operation operation
catatan
::tensorflow::Output records
Fungsi publik
RecordInput
RecordInput( const ::tensorflow::Scope & scope, StringPiece file_pattern )
RecordInput
RecordInput( const ::tensorflow::Scope & scope, StringPiece file_pattern, const RecordInput::Attrs & attrs )
simpul
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Keluaran
operator::tensorflow::Output() const
Fungsi statis publik
BatchSize
Attrs BatchSize( int64 x )
CompressionType
Attrs CompressionType( StringPiece x )
FileBufferSize
Attrs FileBufferSize( int64 x )
FileParallelism
Attrs FileParallelism( int64 x )
FileRandomSeed
Attrs FileRandomSeed( int64 x )
FileShuffleShiftRatio
Attrs FileShuffleShiftRatio( float x )