تدفق التوتر:: العمليات:: FixedLengthRecordReader

#include <io_ops.h>

قارئ يقوم بإخراج سجلات ذات طول ثابت من ملف.

ملخص

الحجج:

  • النطاق: كائن النطاق
  • Record_bytes: عدد البايتات في السجل.

السمات الاختيارية (انظر Attrs ):

  • header_bytes: عدد البايتات في الرأس، القيمة الافتراضية هي 0.
  • footer_bytes: عدد البايتات في التذييل، القيمة الافتراضية هي 0.
  • hop_bytes: عدد البايتات التي يجب الانتقال إليها قبل كل قراءة. الافتراضي 0 يعني استخدام Record_bytes.
  • الحاوية: إذا لم تكن فارغة، يتم وضع هذا القارئ في الحاوية المحددة. وبخلاف ذلك، يتم استخدام حاوية افتراضية.
  • 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

read_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
)

هوب بايتس

Attrs HopBytes(
  int64 x
)

الاسم المشترك

Attrs SharedName(
  StringPiece x
)