tensorflow:: אופס:: RecordInput

#include <data_flow_ops.h>

פולט רשומות אקראיות.

סיכום

טיעונים:

  • scope: אובייקט Scope
  • file_pattern: תבנית גלוב עבור קבצי הנתונים.

מאפיינים אופציונליים (ראה Attrs ):

  • file_random_seed: זרעים אקראיים המשמשים לייצור רשומות אקראיות.
  • file_shuffle_shift_ratio: מעביר את רשימת הקבצים לאחר ערבוב אקראי של הרשימה.
  • file_buffer_size: מאגר ערבוב האקראיות.
  • file_parallelism: כמה sstables נפתחות ובמקביל חוזרות עליהן.
  • batch_size: גודל האצווה.
  • compression_type: סוג הדחיסה עבור הקובץ. נכון לעכשיו, ZLIB ו-GZIP נתמכים. ברירת מחדל לאף אחת.

החזרות:

  • Output : טנזור של צורה [גודל_אצווה].

בנאים והורסים

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

תכונות ציבוריות

operation
records

תפקידים ציבוריים

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

פונקציות סטטיות ציבוריות

BatchSize (int64 x)
CompressionType (StringPiece x)
FileBufferSize (int64 x)
FileParallelism (int64 x)
FileRandomSeed (int64 x)
FileShuffleShiftRatio (float x)

מבנים

tensorflow:: ops:: RecordInput:: Attrs

קובעי תכונות אופציונליים עבור RecordInput .

תכונות ציבוריות

מבצע

Operation operation

רשומות

::tensorflow::Output records

תפקידים ציבוריים

RecordInput

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

RecordInput

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

צוֹמֶת

::tensorflow::Node * node() const 

מפעיל::tensorflow::קלט

 operator::tensorflow::Input() const 

אופרטור::tensorflow::פלט

 operator::tensorflow::Output() const 

פונקציות סטטיות ציבוריות

גודל אצווה

Attrs BatchSize(
  int64 x
)

CompressionType

Attrs CompressionType(
  StringPiece x
)

FileBufferSize

Attrs FileBufferSize(
  int64 x
)

מקביליות של קבצים

Attrs FileParallelism(
  int64 x
)

FileRandomSeed

Attrs FileRandomSeed(
  int64 x
)

FileShuffleShiftRatio

Attrs FileShuffleShiftRatio(
  float x
)