View source on GitHub |
A container for common metadata information of a model.
tflite_support.metadata_writers.metadata_info.GeneralMd(
name: Optional[str] = None,
version: Optional[str] = None,
description: Optional[str] = None,
author: Optional[str] = None,
licenses: Optional[str] = None
)
Attributes | |
---|---|
name
|
name of the model. |
version
|
version of the model. |
description
|
description of what the model does. |
author
|
author of the model. |
licenses
|
licenses of the model. |
Methods
create_metadata
create_metadata() -> tflite_support.metadata_schema_py_generated.ModelMetadataT
Creates the model metadata based on the general model information.
Returns | |
---|---|
A Flatbuffers Python object of the model metadata. |