contrib.lookup.index_to_string_table_from_file

tf.contrib.lookup.index_to_string_table_from_file

tf.contrib.lookup.index_to_string_table_from_file

index_to_string_table_from_file(
    vocabulary_file,
    vocab_size=None,
    default_value='UNK',
    name=None
)

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

Returns a lookup table that maps a Tensor of indices into strings.

This operation constructs a lookup table to map int64 indices into stri