diff options
Diffstat (limited to 'frameworks/tflite/operators/fully_connected_14x19_qi8/test_matmul_14x19_qi8.json')
-rw-r--r-- | frameworks/tflite/operators/fully_connected_14x19_qi8/test_matmul_14x19_qi8.json | 292 |
1 files changed, 292 insertions, 0 deletions
diff --git a/frameworks/tflite/operators/fully_connected_14x19_qi8/test_matmul_14x19_qi8.json b/frameworks/tflite/operators/fully_connected_14x19_qi8/test_matmul_14x19_qi8.json new file mode 100644 index 000000000..f05a5b4c7 --- /dev/null +++ b/frameworks/tflite/operators/fully_connected_14x19_qi8/test_matmul_14x19_qi8.json @@ -0,0 +1,292 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + + ], + outputs: [ + "layer_0" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + + ], + outputs: [ + "layer_1" + ] + }, + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 1, + 0 + ] + }, + inputs: [ + "TosaInput_1" + ], + outputs: [ + "layer_2" + ] + }, + { + op: "FULLY_CONNECTED", + attribute_type: "FullyConnectedAttribute", + attribute: { + input_zp: -1, + weight_zp: -1 + }, + inputs: [ + "TosaInput_0", + "layer_2", + "layer_1" + ], + outputs: [ + "layer_3" + ] + }, + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 0, + output_zp: 3, + multiplier: [ + 1353377973 + ], + shift: [ + 40 + ], + scale32: true, + double_round: true, + per_channel: false + }, + inputs: [ + "layer_3" + ], + outputs: [ + "TosaOutput_0" + ] + } + ], + tensors: [ + { + name: "TosaInput_0", + shape: [ + 14, + 19 + ], + type: "INT8", + data: [ + + ] + }, + { + name: "TosaInput_1", + shape: [ + 19, + 28 + ], + type: "INT8", + data: [ + + ] + }, + { + name: "TosaOutput_0", + shape: [ + 14, + 28 + ], + type: "INT8", + data: [ + + ] + }, + { + name: "layer_0", + shape: [ + 2 + ], + type: "INT32", + data: [ + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + name: "layer_1", + shape: [ + 28 + ], + type: "INT32", + data: [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + name: "layer_2", + shape: [ + 28, + 19 + ], + type: "INT8", + data: [ + + ] + }, + { + name: "layer_3", + shape: [ + 14, + 28 + ], + type: "INT32", + data: [ + + ] + } + ], + inputs: [ + "TosaInput_0", + "TosaInput_1" + ], + outputs: [ + "TosaOutput_0" + ] + } + ] +} |