تدفق التوتر:: العمليات:: StringToHashBucket

#include <string_ops.h>

يحول كل سلسلة في Tensor الإدخال إلى تعديل التجزئة الخاص به بواسطة عدد من المجموعات.

ملخص

تعتبر وظيفة التجزئة حتمية على محتوى السلسلة داخل العملية.

لاحظ أن وظيفة التجزئة قد تتغير من وقت لآخر. سيتم إهمال هذه الوظيفة ويوصى باستخدام 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 

المشغل::tensorflow::الإدخال

 operator::tensorflow::Input() const 

المشغل::tensorflow::الإخراج

 operator::tensorflow::Output() const