flux tensoriel : : opérations : : ChaîneVersHashBucket
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
#include <string_ops.h>
Convertit chaque chaîne du Tensor d'entrée en son mod de hachage par un certain nombre de compartiments.
Résumé
La fonction de hachage est déterministe sur le contenu de la chaîne au sein du processus.
Notez que la fonction de hachage peut changer de temps en temps. Cette fonctionnalité sera obsolète et il est recommandé d'utiliser tf.string_to_hash_bucket_fast()
ou tf.string_to_hash_bucket_strong()
.
Arguments :
- scope : un objet Scope
- num_buckets : le nombre de compartiments.
Retours :
Constructeurs et Destructeurs | |
---|---|
StringToHashBucket (const :: tensorflow::Scope & scope, :: tensorflow::Input string_tensor, int64 num_buckets) |
Fonctions publiques | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Attributs publics
opération
Operation operation
sortir
::tensorflow::Output output
Fonctions publiques
ChaîneVersHashBucket
StringToHashBucket( const ::tensorflow::Scope & scope, ::tensorflow::Input string_tensor, int64 num_buckets )
nœud
::tensorflow::Node * node() const
opérateur :: tensorflow :: Entrée
operator::tensorflow::Input() const
opérateur :: tensorflow :: Sortie
operator::tensorflow::Output() const