diff options
Diffstat (limited to 'operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_2x8x12_i8_acci32')
4 files changed, 454 insertions, 0 deletions
diff --git a/operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_2x8x12_i8_acci32/desc.json b/operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_2x8x12_i8_acci32/desc.json new file mode 100644 index 000000000..dc8dfba88 --- /dev/null +++ b/operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_2x8x12_i8_acci32/desc.json @@ -0,0 +1,24 @@ +{ + "tosa_file": "test.json", + "ifm_name": [ + "input-0", + "input-1" + ], + "ifm_file": [ + "input-0.npy", + "input-1.npy" + ], + "ofm_name": [ + "result-0" + ], + "ofm_file": [ + "result-0.npy" + ], + "expected_return_code": 2, + "expected_failure": true, + "expected_failure_desc": "Op output list does not match expected output", + "profile": [ + "tosa-bi", + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_2x8x12_i8_acci32/input-0.json b/operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_2x8x12_i8_acci32/input-0.json new file mode 100644 index 000000000..1e57de5df --- /dev/null +++ b/operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_2x8x12_i8_acci32/input-0.json @@ -0,0 +1,233 @@ +{ + "type": "int32", + "data": [ + [ + [ + -24, + 12, + 76, + 115, + 27, + -33, + -8, + 93, + -38, + -9, + 70, + 89 + ], + [ + -14, + 102, + 92, + -10, + -57, + -83, + -98, + -79, + -111, + -55, + 125, + -71 + ], + [ + -30, + -29, + 5, + 1, + 20, + -106, + -46, + 104, + 121, + -128, + 33, + -93 + ], + [ + 9, + -126, + 65, + 124, + -97, + -23, + -79, + -78, + 74, + -98, + -97, + -34 + ], + [ + -49, + 121, + -28, + 12, + -102, + -38, + -76, + -35, + -51, + -98, + 13, + 4 + ], + [ + 4, + -20, + 6, + 58, + -62, + -79, + 45, + -93, + -39, + 20, + 21, + 61 + ], + [ + -8, + -1, + -117, + 74, + -68, + 87, + 37, + 106, + 96, + -32, + -28, + 103 + ], + [ + 98, + 53, + 108, + 31, + -122, + 13, + -34, + -123, + 14, + 15, + 59, + 71 + ] + ], + [ + [ + -46, + 125, + -15, + -18, + -82, + 125, + -28, + -85, + 88, + 117, + -74, + 22 + ], + [ + 103, + 41, + -17, + 18, + -102, + 123, + 3, + -117, + -42, + -23, + 126, + 96 + ], + [ + -51, + -86, + -118, + 17, + -14, + 6, + -59, + 78, + 4, + 107, + -67, + -62 + ], + [ + 22, + 49, + -53, + 12, + 2, + 41, + 34, + -77, + -99, + -59, + -96, + 12 + ], + [ + 3, + -128, + 83, + 55, + -9, + -87, + -87, + 110, + -68, + 92, + 41, + 31 + ], + [ + 85, + 100, + -59, + 124, + -96, + 70, + -30, + 32, + 85, + -13, + -108, + 80 + ], + [ + -95, + 52, + -16, + -8, + -61, + 0, + -81, + -70, + -7, + 73, + 3, + 96 + ], + [ + -58, + -124, + -50, + -100, + 5, + 125, + -3, + -83, + 21, + 60, + 94, + -5 + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_2x8x12_i8_acci32/input-1.json b/operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_2x8x12_i8_acci32/input-1.json new file mode 100644 index 000000000..71c25f13a --- /dev/null +++ b/operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_2x8x12_i8_acci32/input-1.json @@ -0,0 +1,129 @@ +{ + "type": "int32", + "data": [ + [ + [ + -20, + 5, + -74 + ], + [ + -101, + 69, + -93 + ], + [ + 48, + 19, + -8 + ], + [ + -32, + 123, + 76 + ], + [ + -87, + 120, + -95 + ], + [ + 79, + -19, + -25 + ], + [ + 1, + -5, + -96 + ], + [ + -88, + 60, + 50 + ], + [ + -28, + -14, + -30 + ], + [ + 91, + -111, + 38 + ], + [ + -50, + -85, + -88 + ], + [ + -23, + -91, + 45 + ] + ], + [ + [ + -45, + 91, + -91 + ], + [ + -39, + -31, + 43 + ], + [ + -53, + -84, + -25 + ], + [ + 103, + 80, + 19 + ], + [ + 126, + 68, + 67 + ], + [ + -27, + -2, + 112 + ], + [ + 109, + 56, + -104 + ], + [ + -89, + -12, + 12 + ], + [ + 31, + -59, + 71 + ], + [ + 85, + -75, + 72 + ], + [ + -90, + -2, + 96 + ], + [ + -51, + 47, + 90 + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_2x8x12_i8_acci32/test.json b/operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_2x8x12_i8_acci32/test.json new file mode 100644 index 000000000..45c658b48 --- /dev/null +++ b/operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_2x8x12_i8_acci32/test.json @@ -0,0 +1,68 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "MATMUL", + attribute_type: "MatMulAttribute", + attribute: { + a_zp: -42, + b_zp: 78, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0", + "eiDummyOutput" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 8, + 12 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 2, + 12, + 3 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 2, + 8, + 3 + ], + type: "INT32" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |