tf.contrib.lookup.string_to_index_table_from_file

tf.contrib.lookup.string_to_index_table_from_file(
    vocabulary_file=None,
    num_oov_buckets=0,
    vocab_size=None,
    default_value=-1,
    hasher_spec=tf.contrib.lookup.FastHashSpec,
    name=None
)

Defined in tensorflow/contrib/lookup/lookup_ops.py.

DEPRECATED FUNCTION

THIS FUNCTION IS DEPRECATED. It will be removed after 2017-04-10. Instructions for updating: Use index_table_from_file.