tensorflow:: ops:: WholeFileReader

#include <io_ops.h>

قارئ يقوم بإخراج محتويات الملف بالكامل كقيمة.

ملخص

للاستخدام، قم بإضافة أسماء الملفات إلى قائمة الانتظار. سيكون ناتج دالة ReaderRead عبارة عن اسم ملف (مفتاح) ومحتويات ذلك الملف (قيمة).

الحجج:

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

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

المرتجعات:

  • Output : المقبض الذي يُستخدم للإشارة إلى القارئ.

البناة والمدمرون

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

السمات العامة

operation
reader_handle

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

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

الدوال الثابتة العامة

Container (StringPiece x)
SharedName (StringPiece x)

الهياكل

tensorflow:: ops:: WholeFileReader:: Attrs

أدوات تعيين السمات الاختيارية لـ WholeFileReader .

السمات العامة

عملية

Operation operation

reader_handle

::tensorflow::Output reader_handle

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

قارئ الملفات الكاملة

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

قارئ الملفات الكاملة

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

العقدة

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

الدوال الثابتة العامة

حاوية

Attrs Container(
  StringPiece x
)

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

Attrs SharedName(
  StringPiece x
)