Google I/O is a wrap! Catch up on TensorFlow sessions View sessions

Module: tflite_support.metadata

TensorFlow Lite metadata tools.


class MetadataDisplayer: Displays metadata and associated file info in human-readable format.

class MetadataPopulator: Packs metadata and associated files into TensorFlow Lite model file.


convert_to_json(...): Converts the metadata into a json string.

get_metadata_buffer(...): Returns the metadata in the model file as a buffer.

get_path_to_datafile(...): Gets the path to the specified file in the data dependencies.