تدفق التوتر:: العمليات:: قارئ النص

#include <io_ops.h>

قارئ يقوم بإخراج أسطر ملف محدد بـ "
'.

ملخص

الحجج:

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

  • Skip_header_lines: عدد الأسطر التي يجب تخطيها من بداية كل ملف.
  • الحاوية: إذا لم تكن فارغة، يتم وضع هذا القارئ في الحاوية المحددة. وبخلاف ذلك، يتم استخدام حاوية افتراضية.
  • Shared_name: إذا لم يكن فارغًا، فسيتم تسمية هذا القارئ في المجموعة المحددة بهذا الاسم المشترك. وإلا، فسيتم استخدام اسم العقدة بدلاً من ذلك.

عائدات:

  • Output : المقبض للإشارة إلى القارئ.

البنائين والمدمرين

TextLineReader (const :: tensorflow::Scope & scope)
TextLineReader (const :: tensorflow::Scope & scope, const TextLineReader::Attrs & attrs)

الصفات العامة

operation
reader_handle

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

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

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

Container (StringPiece x)
SharedName (StringPiece x)
SkipHeaderLines (int64 x)

الهياكل

Tensorflow:: ops:: TextLineReader:: Attrs

محددات السمات الاختيارية لـ TextLineReader .

الصفات العامة

عملية

Operation operation

read_handle

::tensorflow::Output reader_handle

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

قارئ النص

 TextLineReader(
  const ::tensorflow::Scope & scope
)

قارئ النص

 TextLineReader(
  const ::tensorflow::Scope & scope,
  const TextLineReader::Attrs & attrs
)

العقدة

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

المشغل::tensorflow::الإخراج

 operator::tensorflow::Output() const 

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

حاوية

Attrs Container(
  StringPiece x
)

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

Attrs SharedName(
  StringPiece x
)

SkipHeaderLines

Attrs SkipHeaderLines(
  int64 x
)