diff options
Diffstat (limited to 'frameworks/tflite/operators/conv_2d_relu_1x1_1x32x32x8_qi8/test_conv2d_relu_1x1_1x32x32x8_qi8.json')
-rw-r--r-- | frameworks/tflite/operators/conv_2d_relu_1x1_1x32x32x8_qi8/test_conv2d_relu_1x1_1x32x32x8_qi8.json | 407 |
1 files changed, 407 insertions, 0 deletions
diff --git a/frameworks/tflite/operators/conv_2d_relu_1x1_1x32x32x8_qi8/test_conv2d_relu_1x1_1x32x32x8_qi8.json b/frameworks/tflite/operators/conv_2d_relu_1x1_1x32x32x8_qi8/test_conv2d_relu_1x1_1x32x32x8_qi8.json new file mode 100644 index 000000000..5f7db426d --- /dev/null +++ b/frameworks/tflite/operators/conv_2d_relu_1x1_1x32x32x8_qi8/test_conv2d_relu_1x1_1x32x32x8_qi8.json @@ -0,0 +1,407 @@ +{ + 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: "CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 0, + weight_zp: 0 + }, + inputs: [ + "TosaInput_0", + "layer_0", + "layer_1" + ], + outputs: [ + "layer_2" + ] + }, + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 0, + output_zp: -128, + multiplier: [ + 1989645362, + 1774547105, + 1764032025, + 1877784255, + 1805350445, + 1853743948, + 1936186774, + 1788418776, + 1864353099, + 1298649671, + 1945508892, + 1902331585, + 2025616724, + 1952922631, + 1790681029, + 1272884693 + ], + shift: [ + 39, + 39, + 39, + 39, + 39, + 39, + 39, + 39, + 39, + 39, + 39, + 39, + 39, + 39, + 39, + 39 + ], + scale32: true, + double_round: true, + per_channel: true + }, + inputs: [ + "layer_2" + ], + outputs: [ + "layer_3" + ] + }, + { + op: "CLAMP", + attribute_type: "ClampAttribute", + attribute: { + min_int: -128, + max_int: 127, + min_fp: 0.0, + max_fp: 0.0 + }, + inputs: [ + "layer_3" + ], + outputs: [ + "TosaOutput_0" + ] + } + ], + tensors: [ + { + name: "TosaInput_0", + shape: [ + 1, + 32, + 32, + 8 + ], + type: "INT8", + data: [ + + ] + }, + { + name: "TosaOutput_0", + shape: [ + 1, + 32, + 32, + 16 + ], + type: "INT8", + data: [ + + ] + }, + { + name: "layer_0", + shape: [ + 16, + 1, + 1, + 8 + ], + type: "INT8", + data: [ + 130, + 20, + 143, + 129, + 252, + 236, + 109, + 195, + 216, + 115, + 16, + 233, + 81, + 164, + 127, + 5, + 144, + 127, + 185, + 17, + 152, + 244, + 226, + 104, + 127, + 59, + 52, + 218, + 11, + 96, + 84, + 81, + 159, + 17, + 31, + 56, + 185, + 129, + 190, + 189, + 206, + 101, + 147, + 129, + 207, + 32, + 154, + 49, + 133, + 66, + 222, + 127, + 139, + 45, + 221, + 137, + 173, + 168, + 3, + 231, + 249, + 138, + 129, + 182, + 228, + 60, + 127, + 220, + 152, + 117, + 253, + 6, + 27, + 157, + 127, + 22, + 75, + 126, + 39, + 107, + 8, + 241, + 187, + 22, + 6, + 16, + 129, + 178, + 31, + 91, + 195, + 35, + 136, + 129, + 189, + 71, + 84, + 176, + 127, + 99, + 101, + 241, + 37, + 86, + 197, + 239, + 249, + 251, + 78, + 62, + 213, + 127, + 18, + 3, + 184, + 109, + 251, + 129, + 244, + 159, + 79, + 154, + 36, + 194, + 182, + 117, + 253, + 127 + ] + }, + { + name: "layer_1", + shape: [ + 16 + ], + 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 + ] + }, + { + name: "layer_2", + shape: [ + 1, + 32, + 32, + 16 + ], + type: "INT32", + data: [ + + ] + }, + { + name: "layer_3", + shape: [ + 1, + 32, + 32, + 16 + ], + type: "INT8", + data: [ + + ] + } + ], + inputs: [ + "TosaInput_0" + ], + outputs: [ + "TosaOutput_0" + ] + } + ] +} |