টেনসরফ্লো :: অপস:: DecodeRaw

#include <parsing_ops.h>

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

সারসংক্ষেপ

যুক্তি:

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

ঐচ্ছিক বৈশিষ্ট্য (দেখুন Attrs ):

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

রিটার্ন:

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

কনস্ট্রাক্টর এবং ডেস্ট্রাক্টর

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

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

DecodeRaw

 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 

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

সামান্য endian

Attrs LittleEndian(
  bool x
)