Skip to content

Commit

Permalink
correcting index_to_string_table_from_tensor doc (tensorflow#6901)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChihChengLiang authored and benoitsteiner committed Jan 27, 2017
1 parent 8595392 commit 727c64a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensorflow/contrib/lookup/lookup_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -1106,7 +1106,7 @@ def index_to_string_table_from_tensor(mapping, default_value="UNK", name=None):
```python
mapping_string = t.constant(["emerson", "lake", "palmer")
indices = tf.constant([1, 5], tf.int64)
table = tf.contrib.lookup.index_to_string_from_tensor(
table = tf.contrib.lookup.index_to_string_table_from_tensor(
mapping_string, default_value="UNKNOWN")
values = table.lookup(indices)
...
Expand Down

0 comments on commit 727c64a

Please sign in to comment.