نشكرك على متابعة Google I / O. عرض جميع الجلسات عند الطلب مشاهدة عند الطلب

تينسورفلو :: العمليات :: FixedLengthRecordReader

#include <io_ops.h>

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

ملخص

الحجج:

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

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

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

القارئ

::tensorflow::Output reader_handle

الوظائف العامة

FixedLengthRecordReader

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

FixedLengthRecordReader

01419 aeca0

العقدة

::tensorflow::Node * node() const 

المشغل :: tensorflow :: الإدخال

 operator::tensorflow::Input() const 

المشغل :: Tensorflow :: Output

 operator::tensorflow::Output() const 

وظائف ثابتة عامة

وعاء

Attrs Container(
  StringPiece x
)

التشفير

Attrs Encoding(
  StringPiece x
)

تذييل بايت

Attrs FooterBytes(
  int64 x
)

HeaderBytes

Attrs HeaderBytes(
  int64 x
)

HopBytes

Attrs HopBytes(
  int64 x
)

SharedName

Attrs SharedName(
  StringPiece x
)