tensorflow :: ops :: FixedLengthRecordReader
#include <io_ops.h>
Pembaca yang mengeluarkan rekaman dengan panjang tetap dari file.
Ringkasan
Argumen:
- scope: Objek Scope
- record_bytes: Jumlah byte dalam catatan.
Atribut opsional (lihat Attrs
):
- header_bytes: Jumlah byte di header, defaultnya 0.
- footer_bytes: Jumlah byte di footer, default ke 0.
- hop_bytes: Jumlah byte yang dilompati sebelum setiap pembacaan. Default 0 berarti menggunakan record_bytes.
- wadah: Jika tidak kosong, pembaca ini ditempatkan di wadah yang diberikan. Jika tidak, penampung default digunakan.
- shared_name: Jika tidak kosong, pembaca ini diberi nama di bucket yang diberikan dengan shared_name ini. Jika tidak, nama node digunakan sebagai gantinya.
- pengkodean: Jenis pengkodean untuk file. Saat ini ZLIB dan GZIP didukung. Secara default tidak ada.
Pengembalian:
-
Output
: Pegangan untuk mereferensikan Pembaca.
Pembuat dan Penghancur | |
---|---|
FixedLengthRecordReader (const :: tensorflow::Scope & scope, int64 record_bytes) | |
FixedLengthRecordReader (const :: tensorflow::Scope & scope, int64 record_bytes, const FixedLengthRecordReader::Attrs & attrs) |
Atribut publik | |
---|---|
operation | |
reader_handle |
Fungsi publik | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Fungsi statis publik | |
---|---|
Container (StringPiece x) | |
Encoding (StringPiece x) | |
FooterBytes (int64 x) | |
HeaderBytes (int64 x) | |
HopBytes (int64 x) | |
SharedName (StringPiece x) |
Structs | |
---|---|
tensorflow :: ops :: FixedLengthRecordReader :: Attrs | Penyetel atribut opsional untuk FixedLengthRecordReader . |
Atribut publik
operasi
Operation operation
reader_handle
::tensorflow::Output reader_handle
Fungsi publik
FixedLengthRecordReader
FixedLengthRecordReader( const ::tensorflow::Scope & scope, int64 record_bytes )
FixedLengthRecordReader
FixedLengthRecordReader( const ::tensorflow::Scope & scope, int64 record_bytes, const FixedLengthRecordReader::Attrs & attrs )
simpul
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Keluaran
operator::tensorflow::Output() const
Fungsi statis publik
Wadah
Attrs Container( StringPiece x )
Pengkodean
Attrs Encoding( StringPiece x )
FooterBytes
Attrs FooterBytes( int64 x )
HeaderBytes
Attrs HeaderBytes( int64 x )
HopBytes
Attrs HopBytes( int64 x )
SharedName
Attrs SharedName( StringPiece x )