tf.contrib.lookup.string_to_index_table_from_tensor

DEPRECATED FUNCTION

tf.contrib.lookup.string_to_index_table_from_tensor(
    mapping,
    num_oov_buckets=0,
    default_value=-1,
    hasher_spec=tf.contrib.lookup.FastHashSpec,
    name=None
)

Defined in contrib/lookup/lookup_ops.py.