tensorflow:: ops:: StringToHashBucket

#include <string_ops.h>

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

תַקצִיר

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

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

טיעונים:

  • היקף: אובייקט היקף
  • 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

תפקידים ציבוריים

מחרוזתלHashBucket

 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