টেনসরফ্লো :: অপস:: স্থির দৈর্ঘ্যরেকর্ডরিডার
#include <io_ops.h>
একটি রিডার যা একটি ফাইল থেকে নির্দিষ্ট দৈর্ঘ্যের রেকর্ড আউটপুট করে।
সারসংক্ষেপ
যুক্তি:
- স্কোপ: একটি স্কোপ অবজেক্ট
- record_bytes: রেকর্ডে বাইটের সংখ্যা।
ঐচ্ছিক বৈশিষ্ট্য (দেখুন Attrs
):
- header_bytes: হেডারে বাইটের সংখ্যা, ডিফল্ট 0।
- footer_bytes: ফুটারে বাইটের সংখ্যা, ডিফল্ট 0।
- hop_bytes: প্রতিটি পড়ার আগে হপ করার জন্য বাইটের সংখ্যা। 0 এর ডিফল্ট মানে রেকর্ড_বাইট ব্যবহার করা।
- ধারক: খালি না থাকলে, এই পাঠকটি প্রদত্ত পাত্রে স্থাপন করা হয়। অন্যথায়, একটি ডিফল্ট ধারক ব্যবহার করা হয়।
- 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( 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 )