TensorFlow 2.0 Beta is available Learn more

tft.string_to_int

tft.string_to_int(
    x,
    default_value=-1,
    top_k=None,
    frequency_threshold=None,
    num_oov_buckets=0,
    vocab_filename=None,
    weights=None,
    labels=None,
    name=None
)

See tft.compute_and_apply_vocabulary. (deprecated)