TensorFlow 2.0 RC is available Learn more

tf.contrib.lookup.string_to_index_table_from_tensor

View source on GitHub

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
)