| { | |
| "version": 3, | |
| "operator_codes": [ | |
| { | |
| "builtin_code": "CUSTOM", | |
| "custom_code": "TFLite_Detection_PostProcess", | |
| "version": 1 | |
| } | |
| ], | |
| "subgraphs": [ | |
| { | |
| "tensors": [ | |
| { | |
| "shape": [ | |
| 1, | |
| 6, | |
| 4 | |
| ], | |
| "type": "UINT8", | |
| "buffer": 0, | |
| "name": "box_encodings", | |
| "quantization": { | |
| "min": [ | |
| 0.0 | |
| ], | |
| "max": [ | |
| 255.0 | |
| ], | |
| "scale": [ | |
| 1.0 | |
| ], | |
| "zero_point": [ | |
| 1 | |
| ] | |
| } | |
| }, | |
| { | |
| "shape": [ | |
| 1, | |
| 6, | |
| 3 | |
| ], | |
| "type": "UINT8", | |
| "buffer": 1, | |
| "name": "scores", | |
| "quantization": { | |
| "min": [ | |
| 0.0 | |
| ], | |
| "max": [ | |
| 255.0 | |
| ], | |
| "scale": [ | |
| 0.01 | |
| ], | |
| "zero_point": [ | |
| 0 | |
| ] | |
| } | |
| }, | |
| { | |
| "shape": [ | |
| 6, | |
| 4 | |
| ], | |
| "type": "UINT8", | |
| "buffer": 2, | |
| "name": "anchors", | |
| "quantization": { | |
| "min": [ | |
| 0.0 | |
| ], | |
| "max": [ | |
| 255.0 | |
| ], | |
| "scale": [ | |
| 0.5 | |
| ], | |
| "zero_point": [ | |
| 0 | |
| ] | |
| } | |
| }, | |
| { | |
| "type": "FLOAT32", | |
| "buffer": 3, | |
| "name": "detection_boxes", | |
| "quantization": {} | |
| }, | |
| { | |
| "type": "FLOAT32", | |
| "buffer": 4, | |
| "name": "detection_classes", | |
| "quantization": {} | |
| }, | |
| { | |
| "type": "FLOAT32", | |
| "buffer": 5, | |
| "name": "detection_scores", | |
| "quantization": {} | |
| }, | |
| { | |
| "type": "FLOAT32", | |
| "buffer": 6, | |
| "name": "num_detections", | |
| "quantization": {} | |
| } | |
| ], | |
| "inputs": [ | |
| 0, | |
| 1, | |
| 2 | |
| ], | |
| "outputs": [ | |
| 3, | |
| 4, | |
| 5, | |
| 6 | |
| ], | |
| "operators": [ | |
| { | |
| "opcode_index": 0, | |
| "inputs": [ | |
| 0, | |
| 1, | |
| 2 | |
| ], | |
| "outputs": [ | |
| 3, | |
| 4, | |
| 5, | |
| 6 | |
| ], | |
| "builtin_options_type": "NONE", | |
| "custom_options": [ | |
| 0 | |
| ], | |
| "custom_options_format": "FLEXBUFFERS" | |
| } | |
| ], | |
| "name": "main" | |
| } | |
| ], | |
| "description": "Arm NN DetectionPostProcess one-byte malformed FlexBuffer trigger", | |
| "buffers": [ | |
| {}, | |
| {}, | |
| { | |
| "data": [ | |
| 1, | |
| 1, | |
| 2, | |
| 2, | |
| 1, | |
| 1, | |
| 2, | |
| 2, | |
| 1, | |
| 1, | |
| 2, | |
| 2, | |
| 1, | |
| 21, | |
| 2, | |
| 2, | |
| 1, | |
| 21, | |
| 2, | |
| 2, | |
| 1, | |
| 201, | |
| 2, | |
| 2 | |
| ] | |
| }, | |
| {}, | |
| {}, | |
| {}, | |
| {} | |
| ] | |
| } | |