information of the associated files in the tensor.
tensor_name
name of the corresponding tensor 1 in the TFLite model. It is
used to locate the corresponding tensor and decide the order of the tensor
metadata 2 when populating model metadata.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-05-08 UTC."],[],[],null,["# tflite_support.metadata_writers.metadata_info.TensorMd\n\n\u003cbr /\u003e\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/python/metadata_writers/metadata_info.py#L322-L395) |\n\nA container for common tensor metadata information.\n\n#### View aliases\n\n\n**Main aliases**\n\n[`tflite_support.metadata_writers.audio_classifier.metadata_info.TensorMd`](https://www.tensorflow.org/lite/api_docs/python/tflite_support/metadata_writers/metadata_info/TensorMd), [`tflite_support.metadata_writers.audio_classifier.metadata_writer.metadata_info.TensorMd`](https://www.tensorflow.org/lite/api_docs/python/tflite_support/metadata_writers/metadata_info/TensorMd), [`tflite_support.metadata_writers.bert_nl_classifier.metadata_info.TensorMd`](https://www.tensorflow.org/lite/api_docs/python/tflite_support/metadata_writers/metadata_info/TensorMd), [`tflite_support.metadata_writers.bert_nl_classifier.metadata_writer.metadata_info.TensorMd`](https://www.tensorflow.org/lite/api_docs/python/tflite_support/metadata_writers/metadata_info/TensorMd), [`tflite_support.metadata_writers.image_classifier.metadata_info.TensorMd`](https://www.tensorflow.org/lite/api_docs/python/tflite_support/metadata_writers/metadata_info/TensorMd), [`tflite_support.metadata_writers.image_classifier.metadata_writer.metadata_info.TensorMd`](https://www.tensorflow.org/lite/api_docs/python/tflite_support/metadata_writers/metadata_info/TensorMd), [`tflite_support.metadata_writers.image_segmenter.metadata_info.TensorMd`](https://www.tensorflow.org/lite/api_docs/python/tflite_support/metadata_writers/metadata_info/TensorMd), [`tflite_support.metadata_writers.image_segmenter.metadata_writer.metadata_info.TensorMd`](https://www.tensorflow.org/lite/api_docs/python/tflite_support/metadata_writers/metadata_info/TensorMd), [`tflite_support.metadata_writers.nl_classifier.metadata_info.TensorMd`](https://www.tensorflow.org/lite/api_docs/python/tflite_support/metadata_writers/metadata_info/TensorMd), [`tflite_support.metadata_writers.nl_classifier.metadata_writer.metadata_info.TensorMd`](https://www.tensorflow.org/lite/api_docs/python/tflite_support/metadata_writers/metadata_info/TensorMd), [`tflite_support.metadata_writers.object_detector.metadata_info.TensorMd`](https://www.tensorflow.org/lite/api_docs/python/tflite_support/metadata_writers/metadata_info/TensorMd), [`tflite_support.metadata_writers.object_detector.metadata_writer.metadata_info.TensorMd`](https://www.tensorflow.org/lite/api_docs/python/tflite_support/metadata_writers/metadata_info/TensorMd)\n\n\u003cbr /\u003e\n\n tflite_support.metadata_writers.metadata_info.TensorMd(\n name: Optional[str] = None,\n description: Optional[str] = None,\n min_values: Optional[List[float]] = None,\n max_values: Optional[List[float]] = None,\n content_type: ../../../tflite_support/metadata_schema_py_generated/ContentProperties = _metadata_fb.ContentProperties.FeatureProperties,\n associated_files: Optional[List[Type[AssociatedFileMd]]] = None,\n tensor_name: Optional[str] = None\n )\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Attributes ---------- ||\n|--------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | name of the tensor. |\n| `description` | description of what the tensor is. |\n| `min_values` | per-channel minimum value of the tensor. |\n| `max_values` | per-channel maximum value of the tensor. |\n| `content_type` | content_type of the tensor. |\n| `associated_files` | information of the associated files in the tensor. |\n| `tensor_name` | name of the corresponding tensor [1](https://github.com/tensorflow/tensorflow/blob/cb67fef35567298b40ac166b0581cd8ad68e5a3a/tensorflow/lite/schema/schema.fbs#L1129-L1136) in the TFLite model. It is used to locate the corresponding tensor and decide the order of the tensor metadata [2](https://github.com/tensorflow/tflite-support/blob/b2a509716a2d71dfff706468680a729cc1604cff/tensorflow_lite_support/metadata/metadata_schema.fbs#L595-L612) when populating model metadata. \u003cbr /\u003e \u003cbr /\u003e |\n\n\u003cbr /\u003e\n\nMethods\n-------\n\n### `create_metadata`\n\n[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/python/metadata_writers/metadata_info.py#L358-L395) \n\n create_metadata() -\u003e ../../../tflite_support/metadata_schema_py_generated/TensorMetadataT\n\nCreates the input tensor metadata based on the information.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|---|---|\n| A Flatbuffers Python object of the input metadata. ||\n\n\u003cbr /\u003e"]]