![]() |
Writes metadata into the NL classifier.
Inherits From: MetadataWriter
tflite_support.metadata_writers.nl_classifier.MetadataWriter(
model_buffer: bytearray,
metadata_buffer: Optional[bytearray] = None,
associated_files: Optional[List[str]] = None
)
Args | |
---|---|
model_buffer
|
valid buffer of the model file. |
metadata_buffer
|
valid buffer of the metadata. |
associated_files
|
path to the associated files to be populated. |
Methods
create_for_inference
@classmethod
create_for_inference( model_buffer: bytearray, tokenizer_md: Optional[