View source on GitHub |
A container for label file metadata information.
Inherits From: AssociatedFileMd
tflite_support.metadata_writers.metadata_info.LabelFileMd(
file_path: str, locale: Optional[str] = None
)
Args | |
---|---|
file_path
|
file_path of the label file. |
locale
|
locale of the label file 1. |
Methods
create_metadata
create_metadata() -> tflite_support.metadata_schema_py_generated.AssociatedFileT
Creates the associated file metadata.
Returns | |
---|---|
A Flatbuffers Python object of the associated file metadata. |