टेन्सरफ्लो::ऑप्स::फिक्स्डलेंथरिकॉर्डरीडर

#include <io_ops.h>

एक रीडर जो किसी फ़ाइल से निश्चित लंबाई के रिकॉर्ड आउटपुट करता है।

सारांश

तर्क:

  • स्कोप: एक स्कोप ऑब्जेक्ट
  • record_bytes: रिकॉर्ड में बाइट्स की संख्या।

वैकल्पिक विशेषताएँ (देखें Attrs ):

  • header_bytes: हेडर में बाइट्स की संख्या, डिफ़ॉल्ट रूप से 0।
  • footer_bytes: फुटर में बाइट्स की संख्या, डिफ़ॉल्ट रूप से 0।
  • hop_bytes: प्रत्येक रीड से पहले हॉप करने के लिए बाइट्स की संख्या। डिफ़ॉल्ट मान 0 का अर्थ है record_bytes का उपयोग करना।
  • कंटेनर: यदि खाली नहीं है, तो इस रीडर को दिए गए कंटेनर में रखा जाता है। अन्यथा, एक डिफ़ॉल्ट कंटेनर का उपयोग किया जाता है।
  • shared_name: यदि यह खाली नहीं है, तो इस रीडर को दिए गए बकेट में इसी shared_name से नामित किया जाता है। अन्यथा, इसके बजाय नोड नाम का उपयोग किया जाता है।
  • encoding: फ़ाइल के लिए एन्कोडिंग का प्रकार। वर्तमान में 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)

संरचनाएँ

टेन्सरफ्लो::ऑप्स::फिक्स्डलेंथरिकॉर्डरीडर::एट्रिब्यूट्स

FixedLengthRecordReader के लिए वैकल्पिक विशेषता निर्धारक।

सार्वजनिक विशेषताएँ

संचालन

Operation operation

पाठक_हैंडल

::tensorflow::Output reader_handle

सार्वजनिक समारोह

निश्चित लंबाई रिकॉर्ड पाठक

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

निश्चित लंबाई रिकॉर्ड पाठक

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

नोड

::tensorflow::Node * node() const 

ऑपरेटर::टेन्सरफ्लो::इनपुट

 operator::tensorflow::Input() const 

ऑपरेटर::टेन्सरफ्लो::आउटपुट

 operator::tensorflow::Output() const 

सार्वजनिक स्थैतिक फ़ंक्शन

पात्र

Attrs Container(
  StringPiece x
)

एन्कोडिंग

Attrs Encoding(
  StringPiece x
)

फ़ूटर बाइट्स

Attrs FooterBytes(
  int64 x
)

हेडरबाइट्स

Attrs HeaderBytes(
  int64 x
)

हॉपबाइट्स

Attrs HopBytes(
  int64 x
)

साझा नाम

Attrs SharedName(
  StringPiece x
)