tflite_support.metadata_writers.metadata_info.BertTokenizerMd

A container for the Bert tokenizer 1 metadata information.

vocab_file_path path to the vocabulary file.

Methods

create_metadata

View source

Creates the Bert tokenizer metadata based on the information.

Returns
A Flatbuffers Python object of the Bert tokenizer metadata.