vocabSize property
int
get
vocabSize
The size of the vocabulary (including padding and unknown tokens).
Implementation
int get vocabSize => _charToIndex.length + 2;
The size of the vocabulary (including padding and unknown tokens).
int get vocabSize => _charToIndex.length + 2;