提交 8b42d12e 编写于 作者: M Martin Wicke 提交者: GitHub

Merge pull request #2963 from ysuematsu/r0.9

Use string_to_hash_bucket_fast in feature_column
......@@ -348,7 +348,7 @@ class _SparseColumnHashed(_SparseColumn):
def insert_transformed_feature(self, columns_to_tensors):
"""Handles sparse column to id conversion."""
sparse_id_values = string_ops.string_to_hash_bucket(
sparse_id_values = string_ops.string_to_hash_bucket_fast(
columns_to_tensors[self.name].values,
self.bucket_size,
name=self.name + "_lookup")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册