View source on GitHub |
Methods
GetRootAs
@classmethod
GetRootAs( buf, offset=0 )
GetRootAsSentencePieceTokenizerOptions
@classmethod
GetRootAsSentencePieceTokenizerOptions( buf, offset=0 )
This method is deprecated. Please switch to GetRootAs.
Init
Init(
buf, pos
)
SentencePieceModel
SentencePieceModel(
j
)
SentencePieceModelIsNone
SentencePieceModelIsNone()
SentencePieceModelLength
SentencePieceModelLength()
SentencePieceTokenizerOptionsBufferHasIdentifier
@classmethod
SentencePieceTokenizerOptionsBufferHasIdentifier( buf, offset, size_prefixed=False