tensorflow :: ops :: RecordInput
#include <data_flow_ops.h>
Emituje losowe rekordy.
streszczenie
Argumenty:
- zakres: obiekt Scope
- file_pattern: wzorzec Glob dla plików danych.
Atrybuty opcjonalne (patrz Attrs
):
- file_random_seed: Losowe nasiona używane do tworzenia losowych rekordów.
- file_shuffle_shift_ratio: przesuwa listę plików po losowym przetasowaniu listy.
- file_buffer_size: bufor losowania losowego.
- file_parallelism: ile sstable są otwierane i jednocześnie iterowane.
- batch_size: rozmiar partii.
- typ_kompresji: typ kompresji pliku. Obecnie obsługiwane są ZLIB i GZIP. Domyślnie brak.
Zwroty:
-
Output
: tensor kształtu [rozmiar_ partii].
Konstruktorzy i niszczyciele | |
---|---|
RecordInput (const :: tensorflow::Scope & scope, StringPiece file_pattern) | |
RecordInput (const :: tensorflow::Scope & scope, StringPiece file_pattern, const RecordInput::Attrs & attrs) |
Atrybuty publiczne | |
---|---|
operation | |
records |
Funkcje publiczne | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Publiczne funkcje statyczne | |
---|---|
BatchSize (int64 x) | |
CompressionType (StringPiece x) | |
FileBufferSize (int64 x) | |
FileParallelism (int64 x) | |
FileRandomSeed (int64 x) | |
FileShuffleShiftRatio (float x) |
Struktury | |
---|---|
tensorflow :: ops :: RecordInput :: Attrs | Opcjonalne metody ustawiające atrybuty dla RecordInput . |
Atrybuty publiczne
operacja
Operation operation
dokumentacja
::tensorflow::Output records
Funkcje publiczne
RecordInput
RecordInput( const ::tensorflow::Scope & scope, StringPiece file_pattern )
RecordInput
RecordInput( const ::tensorflow::Scope & scope, StringPiece file_pattern, const RecordInput::Attrs & attrs )
węzeł
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Output
operator::tensorflow::Output() const
Publiczne funkcje statyczne
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 )