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

#include <string_ops.h>

ওয়েব-সেফ বেস64 ফরম্যাটে স্ট্রিং এনকোড করুন।

সারসংক্ষেপ

বেস64 ফরম্যাটের আরও তথ্যের জন্য নিম্নলিখিত নিবন্ধটি পড়ুন: en.wikipedia.org/wiki/Base64। Base64 স্ট্রিং-এর শেষে '=' দিয়ে প্যাডিং থাকতে পারে যাতে এনকোড করা দৈর্ঘ্যের মাল্টিপল 4 থাকে। উপরের লিঙ্কের প্যাডিং বিভাগটি দেখুন।

ওয়েব-সেফ মানে হল যে এনকোডার + এবং / এর পরিবর্তে - এবং _ ব্যবহার করে।

যুক্তি:

  • স্কোপ: একটি স্কোপ অবজেক্ট
  • ইনপুট: এনকোড করা স্ট্রিং।

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

  • প্যাড: প্যাডিং প্রান্তে প্রয়োগ করা হয় কিনা তা বুল করুন।

রিটার্ন:

  • Output : ইনপুট স্ট্রিং বেস64 এ এনকোড করা হয়েছে।

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

EncodeBase64 (const :: tensorflow::Scope & scope, :: tensorflow::Input input)
EncodeBase64 (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const EncodeBase64::Attrs & attrs)

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

operation
output

পাবলিক ফাংশন

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

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

Pad (bool x)

কাঠামো

tensorflow:: ops:: EncodeBase64:: Attrs

EncodeBase64- এর জন্য ঐচ্ছিক বৈশিষ্ট্য নির্ধারণকারী।

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

অপারেশন

Operation operation

আউটপুট

::tensorflow::Output output

পাবলিক ফাংশন

EncodeBase64

 EncodeBase64(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input
)

EncodeBase64

 EncodeBase64(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  const EncodeBase64::Attrs & attrs
)

নোড

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

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

প্যাড

Attrs Pad(
  bool x
)