tensorflow:: ops:: DecodeRaw

#include <parsing_ops.h>

একটি স্ট্রিং-এর বাইটগুলোকে সংখ্যার ভেক্টর হিসেবে পুনর্ব্যাখ্যা করুন।

সারসংক্ষেপ

যুক্তি:

  • স্কোপ: একটি স্কোপ অবজেক্ট
  • বাইট: সকল উপাদানের দৈর্ঘ্য অবশ্যই সমান হতে হবে।

ঐচ্ছিক অ্যাট্রিবিউটসমূহ (দেখুন Attrs ):

  • little_endian: ইনপুট bytes লিটল-এন্ডিয়ান ক্রমে আছে কিনা। uint8 মতো একক বাইটে সংরক্ষিত out_type মানগুলির জন্য এটি উপেক্ষা করা হয়।

ফেরত:

  • Output : ইনপুট bytes চেয়ে একটি অতিরিক্ত ডাইমেনশনযুক্ত একটি টেনসর । এই অতিরিক্ত ডাইমেনশনটির সাইজ হবে, bytes উপাদানগুলোর দৈর্ঘ্যকে out_type উপস্থাপনকারী বাইটের সংখ্যা দিয়ে ভাগ করার সমান।

নির্মাতা এবং ধ্বংসকারী

DecodeRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input bytes, DataType out_type)
DecodeRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input bytes, DataType out_type, const DecodeRaw::Attrs & attrs)

জনসাধারণের বৈশিষ্ট্য

operation
output

জনসাধারণের কার্যাবলী

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

পাবলিক স্ট্যাটিক ফাংশন

LittleEndian (bool x)

কাঠামো

tensorflow:: ops:: DecodeRaw:: Attrs

DecodeRaw-এর জন্য ঐচ্ছিক অ্যাট্রিবিউট সেটার।

জনসাধারণের বৈশিষ্ট্য

অপারেশন

Operation operation

আউটপুট

::tensorflow::Output output

জনসাধারণের কার্যাবলী

ডিকোডর

 DecodeRaw(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input bytes,
  DataType out_type
)

ডিকোডর

 DecodeRaw(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input bytes,
  DataType out_type,
  const DecodeRaw::Attrs & attrs
)

নোড

::tensorflow::Node * node() const 

অপারেটর::টেনসরফ্লো::ইনপুট

 operator::tensorflow::Input() const 

অপারেটর::টেনসরফ্লো::আউটপুট

 operator::tensorflow::Output() const 

পাবলিক স্ট্যাটিক ফাংশন

লিটলএন্ডিয়ান

Attrs LittleEndian(
  bool x
)