tensorflow:: ops:: StringToHashBucket

#include <string_ops.h>

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

ملخص

تعتمد دالة التجزئة بشكل حتمي على محتوى السلسلة داخل العملية.

لاحظ أن دالة التجزئة قد تتغير من وقت لآخر. سيتم إيقاف هذه الوظيفة، ويُنصح باستخدام tf.string_to_hash_bucket_fast() أو tf.string_to_hash_bucket_strong() .

الحجج:

  • النطاق: كائن النطاق
  • عدد الدلاء: عدد الدلاء.

المرتجعات:

البناة والمدمرون

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

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const