<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/python/metadata.py) |

TensorFlow Lite metadata tools.

## Classes

[`class MetadataDisplayer`](https://developers.google.com/edge/api/tflite/python/tflite_support/metadata/MetadataDisplayer): Displays metadata and associated file info in human-readable format.

[`class MetadataPopulator`](https://developers.google.com/edge/api/tflite/python/tflite_support/metadata/MetadataPopulator): Packs metadata and associated files into TensorFlow Lite model file.

## Functions

[`convert_to_json(...)`](https://developers.google.com/edge/api/tflite/python/tflite_support/metadata/convert_to_json): Converts the metadata into a json string.

[`get_metadata_buffer(...)`](https://developers.google.com/edge/api/tflite/python/tflite_support/metadata/get_metadata_buffer): Returns the metadata in the model file as a buffer.

[`get_path_to_datafile(...)`](https://developers.google.com/edge/api/tflite/python/tflite_support/metadata/get_path_to_datafile): Gets the path to the specified file in the data dependencies.