diff --git a/tensorflow/contrib/layers/python/layers/feature_column.py b/tensorflow/contrib/layers/python/layers/feature_column.py index bb1e31c3b4748b7f17af149c46d9e6e93ac885f4..35a46606fdc262f7839c16cf6f36a855f4ac666d 100644 --- a/tensorflow/contrib/layers/python/layers/feature_column.py +++ b/tensorflow/contrib/layers/python/layers/feature_column.py @@ -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")