tensorflow:: ops:: StringToHashBucket
#include <string_ops.h>入力テンソル内の各文字列を、バケット数で割った余りのハッシュ値に変換します。
まとめ
ハッシュ関数は、処理内の文字列の内容に対して決定論的である。
ハッシュ関数は随時変更される可能性があることに注意してください。この機能は非推奨となり、 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
公的機能
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