tensorflow :: অপস:: ডিকোড কমপ্রেসড

#include <parsing_ops.h>

ডিকম্প্রেস স্ট্রিং.

সারসংক্ষেপ

এই অপটি bytes ইনপুট Tensor প্রতিটি উপাদানকে ডিকম্প্রেস করে, যা প্রদত্ত compression_type ব্যবহার করে সংকুচিত হয়েছে বলে ধরে নেওয়া হয়।

output হল bytes মতো একই আকৃতির একটি স্ট্রিং Tensor , প্রতিটি উপাদান bytes সংশ্লিষ্ট উপাদান থেকে ডিকম্প্রেসড ডেটা ধারণ করে।

যুক্তি:

  • স্কোপ: একটি স্কোপ অবজেক্ট
  • বাইট: স্ট্রিং এর একটি টেনসর যা সংকুচিত হয়।

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

  • কম্প্রেশন_টাইপ: একটি স্কেলার যাতে হয় (i) খালি স্ট্রিং (কোনও কম্প্রেশন নেই), (ii) "ZLIB", বা (iii) "GZIP"।

রিটার্ন:

  • Output : ইনপুট bytes মতো একই আকৃতির একটি টেনসর , বাইট থেকে সংকুচিত।

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

DecodeCompressed (const :: tensorflow::Scope & scope, :: tensorflow::Input bytes)
DecodeCompressed (const :: tensorflow::Scope & scope, :: tensorflow::Input bytes, const DecodeCompressed::Attrs & attrs)

পাবলিক বৈশিষ্ট্য

operation
output

পাবলিক ফাংশন

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

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

CompressionType (StringPiece x)

কাঠামো

tensorflow:: ops:: DecodeCompressed:: Attrs

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

পাবলিক বৈশিষ্ট্য

অপারেশন

Operation operation

আউটপুট

::tensorflow::Output output

পাবলিক ফাংশন

ডিকোড কমপ্রেসড

 DecodeCompressed(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input bytes
)

ডিকোড কমপ্রেসড

 DecodeCompressed(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input bytes,
  const DecodeCompressed::Attrs & attrs
)

নোড

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

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

কম্প্রেশন টাইপ

Attrs CompressionType(
  StringPiece x
)