diff options
Diffstat (limited to 'frameworks/tflite/operators/add_1x32x32x8_qi8/test_add_1x32x32x8_qi8.json')
-rw-r--r-- | frameworks/tflite/operators/add_1x32x32x8_qi8/test_add_1x32x32x8_qi8.json | 182 |
1 files changed, 182 insertions, 0 deletions
diff --git a/frameworks/tflite/operators/add_1x32x32x8_qi8/test_add_1x32x32x8_qi8.json b/frameworks/tflite/operators/add_1x32x32x8_qi8/test_add_1x32x32x8_qi8.json new file mode 100644 index 000000000..19a87f222 --- /dev/null +++ b/frameworks/tflite/operators/add_1x32x32x8_qi8/test_add_1x32x32x8_qi8.json @@ -0,0 +1,182 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 0, + output_zp: 0, + multiplier: [ + 2147446673 + ], + shift: [ + 12 + ], + scale32: true, + double_round: false, + per_channel: false + }, + inputs: [ + "TosaInput_0" + ], + outputs: [ + "layer_0" + ] + }, + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: -1, + output_zp: 0, + multiplier: [ + 1073741824 + ], + shift: [ + 11 + ], + scale32: true, + double_round: false, + per_channel: false + }, + inputs: [ + "TosaInput_1" + ], + outputs: [ + "layer_1" + ] + }, + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "layer_0", + "layer_1" + ], + outputs: [ + "layer_2" + ] + }, + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 0, + output_zp: -1, + multiplier: [ + 1075101167 + ], + shift: [ + 50 + ], + scale32: true, + double_round: true, + per_channel: false + }, + inputs: [ + "layer_2" + ], + outputs: [ + "TosaOutput_0" + ] + } + ], + tensors: [ + { + name: "TosaInput_0", + shape: [ + 1, + 32, + 32, + 1 + ], + type: "INT8", + data: [ + + ] + }, + { + name: "TosaInput_1", + shape: [ + 1, + 32, + 32, + 8 + ], + type: "INT8", + data: [ + + ] + }, + { + name: "TosaOutput_0", + shape: [ + 1, + 32, + 32, + 8 + ], + type: "INT8", + data: [ + + ] + }, + { + name: "layer_0", + shape: [ + 1, + 32, + 32, + 1 + ], + type: "INT32", + data: [ + + ] + }, + { + name: "layer_1", + shape: [ + 1, + 32, + 32, + 8 + ], + type: "INT32", + data: [ + + ] + }, + { + name: "layer_2", + shape: [ + 1, + 32, + 32, + 8 + ], + type: "INT32", + data: [ + + ] + } + ], + inputs: [ + "TosaInput_0", + "TosaInput_1" + ], + outputs: [ + "TosaOutput_0" + ] + } + ] +} |