Vocabulary information for warm-starting.
See 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.
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
@staticmethod __new__( cls, new_vocab, new_vocab_size, num_oov_buckets, old_vocab, old_vocab_size=-1, backup_initializer=None )
Create new instance of VocabInfo(new_vocab, new_vocab_size, num_oov_buckets, old_vocab, old_vocab_size, backup_initializer)