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) |
תפקידים ציבוריים | |
---|---|
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