Vocabulary information for warm-starting.
tf.estimator.WarmStartSettings for examples of using
VocabInfo to warm-start.
new_vocab: [Required] A path to the new vocabulary file (used with the model to be trained).
new_vocab_size: [Required] An integer indicating how many entries of the new vocabulary will used in training.
num_oov_buckets: [Required] An integer indicating how many OOV buckets are associated with the vocabulary.
old_vocab: [Required] A path to the old vocabulary file (used with the checkpoint to be warm-started from).
old_vocab_size: [Optional] An integer indicating how many entries of the old vocabulary were used in the creation of the checkpoint. If not provided, the entire old vocabulary will be used.
backup_initializer: [Optional] A variable initializer used for variables corresponding to new vocabulary entries and OOV. If not provided, these entries will be zero-initialized.
@staticmethod __new__( cls, new_vocab, new_vocab_size, num_oov_buckets, old_vocab, old_vocab_size=-1, backup_initializer=None )
Alias for field number 5
Alias for field number 0
Alias for field number 1
Alias for field number 2
Alias for field number 3
Alias for field number 4