tensorflow:: אופס:: FixedLengthRecordReader

#include <io_ops.h>

קורא שמוציא רשומות באורך קבוע מקובץ.

סיכום

טיעונים:

  • scope: אובייקט Scope
  • record_bytes: מספר בתים ברשומה.

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

  • header_bytes: מספר בתים בכותרת, ברירת המחדל היא 0.
  • footer_bytes: מספר בתים בכותרת התחתונה, ברירת המחדל היא 0.
  • hop_bytes: מספר בתים לקפוץ לפני כל קריאה. ברירת המחדל של 0 פירושה שימוש ב-record_bytes.
  • מיכל: אם אינו ריק, קורא זה ממוקם במיכל הנתון. אחרת, נעשה שימוש במיכל ברירת מחדל.
  • shared_name: אם לא ריק, קורא זה נקרא בדלי הנתון עם shared_name זה. אחרת, שם הצומת משמש במקום זאת.
  • קידוד: סוג הקידוד עבור הקובץ. נכון לעכשיו, ZLIB ו-GZIP נתמכים. ברירת מחדל לאף אחת.

החזרות:

  • Output : הידית להפניה לקורא.

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

FixedLengthRecordReader (const :: tensorflow::Scope & scope, int64 record_bytes)
FixedLengthRecordReader (const :: tensorflow::Scope & scope, int64 record_bytes, const FixedLengthRecordReader::Attrs & attrs)

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

operation
reader_handle

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

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

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

Container (StringPiece x)
Encoding (StringPiece x)
FooterBytes (int64 x)
HeaderBytes (int64 x)
HopBytes (int64 x)
SharedName (StringPiece x)

מבנים

tensorflow:: ops:: FixedLengthRecordReader:: Attrs

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

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

מבצע

Operation operation

reader_handle

::tensorflow::Output reader_handle

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

FixedLengthRecordReader

 FixedLengthRecordReader(
  const ::tensorflow::Scope & scope,
  int64 record_bytes
)

FixedLengthRecordReader

 FixedLengthRecordReader(
  const ::tensorflow::Scope & scope,
  int64 record_bytes,
  const FixedLengthRecordReader::Attrs & attrs
)

צוֹמֶת

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

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

מְכוֹלָה

Attrs Container(
  StringPiece x
)

הַצפָּנָה

Attrs Encoding(
  StringPiece x
)

FooterBytes

Attrs FooterBytes(
  int64 x
)

HeaderBytes

Attrs HeaderBytes(
  int64 x
)

HopBytes

Attrs HopBytes(
  int64 x
)

שם משותף

Attrs SharedName(
  StringPiece x
)