Here是描述 TensorFlow 的 tf.string_to_hash_bucket_fast 的页面。 (目前版本是1.3。)它说定义这个函数的文件是tensorflow/python/ops/gen_string_ops.py,github上好像没有。 gen 可能意味着它已生成。好的。
这个函数的可靠定义是什么(也就是说,如果我想在另一个平台上,我可以重新实现它)?
请您参考如下方法:
基于string_to_hash_bucket_op.cc的注册信息. 我认为 tf.string_to_hash_bucket_fast 的实现在 StringToHashBucketOp 中来自相应 .h 文件的类。
