diff options
Diffstat (limited to 'tensorflow/python/ops/lookup_ops.py')
-rw-r--r-- | tensorflow/python/ops/lookup_ops.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/python/ops/lookup_ops.py b/tensorflow/python/ops/lookup_ops.py index dade053589..e0cf8bc5e1 100644 --- a/tensorflow/python/ops/lookup_ops.py +++ b/tensorflow/python/ops/lookup_ops.py @@ -240,7 +240,7 @@ class HashTable(InitializableLookupTableBase): tf.contrib.lookup.KeyValueTensorInitializer(keys, values), -1) out = table.lookup(input_tensor). table.init.run() - print out.eval() + print(out.eval()) ``` """ @@ -709,7 +709,7 @@ class IdTableWithHashBuckets(LookupInterface): num_oov_buckets) out = table.lookup(input_tensor). table.init.run() - print out.eval() + print(out.eval()) ``` The hash function used for generating out-of-vocabulary buckets ID is handled |