chromium/third_party/tflite_support/src/tensorflow_lite_support/metadata/python/tests/testdata/classification_tensor_float_meta.json

{
  "subgraph_metadata": [
    {
      "input_tensor_metadata": [
        {
          "name": "probability",
          "description": "The classification result tensor.",
          "content": {
            "content_properties_type": "FeatureProperties",
            "content_properties": {
            }
          },
          "process_units": [
            {
              "options_type": "ScoreCalibrationOptions",
              "options": {
                "default_score": 0.2
              }
            }
          ],
          "stats": {
            "max": [
              1.0
            ],
            "min": [
              0.0
            ]
          },
          "associated_files": [
            {
              "name": "labels.txt",
              "description": "Labels for categories that the model can recognize.",
              "type": "TENSOR_AXIS_LABELS",
              "locale": "en"
            },
            {
              "name": "labels_cn.txt",
              "description": "Labels for categories that the model can recognize.",
              "type": "TENSOR_AXIS_LABELS",
              "locale": "cn"
            },
            {
              "name": "score_calibration.txt",
              "description": "Contains sigmoid-based score calibration parameters. The main purposes of score calibration is to make scores across classes comparable, so that a common threshold can be used for all output classes.",
              "type": "TENSOR_AXIS_SCORE_CALIBRATION"
            }
          ]
        }
      ]
    }
  ]
}