tensorflow:: ops:: DecodePaddedRaw

#include <parsing_ops.h>

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

সারসংক্ষেপ

যুক্তি:

  • স্কোপ: একটি স্কোপ অবজেক্ট
  • input_bytes: ডিকোড করার জন্য স্ট্রিং-এর টেনসর ।
  • নির্দিষ্ট দৈর্ঘ্য: ডিকোড করা আউটপুটের প্রতিটি উপাদানের দৈর্ঘ্য (বাইটে)। এটি অবশ্যই আউটপুট টাইপের আকারের গুণিতক হতে হবে।

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

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

ফেরত:

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

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

DecodePaddedRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input input_bytes, :: tensorflow::Input fixed_length, DataType out_type)
DecodePaddedRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input input_bytes, :: tensorflow::Input fixed_length, DataType out_type, const DecodePaddedRaw::Attrs & attrs)

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

operation
output

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

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

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

LittleEndian (bool x)

কাঠামো

tensorflow:: ops:: DecodePaddedRaw:: Attrs

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

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

অপারেশন

Operation operation

আউটপুট

::tensorflow::Output output

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

ডিকোডপ্যাডেডর

 DecodePaddedRaw(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input_bytes,
  ::tensorflow::Input fixed_length,
  DataType out_type
)

ডিকোডপ্যাডেডর

 DecodePaddedRaw(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input_bytes,
  ::tensorflow::Input fixed_length,
  DataType out_type,
  const DecodePaddedRaw::Attrs & attrs
)

নোড

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

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

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

Attrs LittleEndian(
  bool x
)