tensorflow:: אופס:: StringToHashBucket

#include <string_ops.h>

ממירה כל מחרוזת ב- Tensor הקלט למוד ה-hash שלה במספר דליים.

סיכום

פונקציית ה-hash היא דטרמיניסטית על תוכן המחרוזת בתוך התהליך.

שים לב שפונקציית ה-hash עשויה להשתנות מעת לעת. פונקציונליות זו תוצא משימוש ומומלץ להשתמש tf.string_to_hash_bucket_fast() או tf.string_to_hash_bucket_strong() .

טיעונים:

  • scope: אובייקט Scope
  • num_buckets: מספר הדליים.

החזרות:

בנאים והורסים

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