przepływ tensorowy:: ops:: Nagraj wejście

#include <data_flow_ops.h>

Emituje losowe rekordy.

Streszczenie

Argumenty:

  • zakres: Obiekt Scope
  • file_pattern: Wzór globalny dla plików danych.

Opcjonalne atrybuty (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.
  • file_buffer_size: Bufor losowego tasowania.
  • file_parallelism: Ile sstable jest otwartych i jednocześnie iterowanych.
  • Batch_size: Rozmiar partii.
  • typ_kompresji: Typ kompresji pliku. Obecnie obsługiwane są ZLIB i GZIP. Domyślnie brak.

Zwroty:

  • Output : tensor kształtu [batch_size].

Konstruktory i destruktory

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:: Atrybuty

Opcjonalne ustawiacze atrybutów dla RecordInput .

Atrybuty publiczne

operacja

Operation operation

dokumentacja

::tensorflow::Output records

Funkcje publiczne

Nagraj wejście

 RecordInput(
  const ::tensorflow::Scope & scope,
  StringPiece file_pattern
)

Nagraj wejście

 RecordInput(
  const ::tensorflow::Scope & scope,
  StringPiece file_pattern,
  const RecordInput::Attrs & attrs
)

węzeł

::tensorflow::Node * node() const 

operator::tensorflow::Wejście

 operator::tensorflow::Input() const 

operator::tensorflow::Wyjście

 operator::tensorflow::Output() const 

Publiczne funkcje statyczne

Rozmiar partii

Attrs BatchSize(
  int64 x
)

Typ kompresji

Attrs CompressionType(
  StringPiece x
)

Rozmiar bufora pliku

Attrs FileBufferSize(
  int64 x
)

Równoległość plików

Attrs FileParallelism(
  int64 x
)

PlikRandomSeed

Attrs FileRandomSeed(
  int64 x
)

FileShuffleShiftRatio

Attrs FileShuffleShiftRatio(
  float x
)