tensorflow :: অপস:: StringToHashBucket

#include <string_ops.h>

ইনপুট টেনসরের প্রতিটি স্ট্রিংকে তার হ্যাশ মোডে বেশ কয়েকটি বালতি দ্বারা রূপান্তরিত করে।

সারসংক্ষেপ

হ্যাশ ফাংশন প্রক্রিয়ার মধ্যে স্ট্রিং এর বিষয়বস্তুর উপর নির্ধারক।

মনে রাখবেন যে হ্যাশ ফাংশন সময়ে সময়ে পরিবর্তিত হতে পারে। এই কার্যকারিতা বাতিল করা হবে এবং tf.string_to_hash_bucket_fast() বা tf.string_to_hash_bucket_strong() ব্যবহার করার পরামর্শ দেওয়া হচ্ছে।

যুক্তি:

  • স্কোপ: একটি স্কোপ অবজেক্ট
  • num_buckets: বালতি সংখ্যা।

রিটার্ন:

  • Output : ইনপুট string_tensor মতো একই আকৃতির একটি টেনসর

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

StringToHashBucket (const :: tensorflow::Scope & scope, :: tensorflow::Input string_tensor, int64 num_buckets)

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

operation
output

পাবলিক ফাংশন

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

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

অপারেশন

Operation operation

আউটপুট

::tensorflow::Output output

পাবলিক ফাংশন

StringToHashBucket

 StringToHashBucket(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input string_tensor,
  int64 num_buckets
)

নোড

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const