diff options
Diffstat (limited to 'operators/tensor/argmax/argmax_ERRORIF_ArgmaxOutputRankMismatch_12x11_i8_axis0')
3 files changed, 235 insertions, 0 deletions
diff --git a/operators/tensor/argmax/argmax_ERRORIF_ArgmaxOutputRankMismatch_12x11_i8_axis0/desc.json b/operators/tensor/argmax/argmax_ERRORIF_ArgmaxOutputRankMismatch_12x11_i8_axis0/desc.json new file mode 100644 index 000000000..7780bdd73 --- /dev/null +++ b/operators/tensor/argmax/argmax_ERRORIF_ArgmaxOutputRankMismatch_12x11_i8_axis0/desc.json @@ -0,0 +1,22 @@ +{ + "tosa_file": "test.json", + "ifm_name": [ + "input-0" + ], + "ifm_file": [ + "input-0.npy" + ], + "ofm_name": [ + "result-0" + ], + "ofm_file": [ + "result-0.npy" + ], + "expected_return_code": 2, + "expected_failure": true, + "expected_failure_desc": "Mismatch between output shape provided and expected output shape", + "profile": [ + "tosa-bi", + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/tensor/argmax/argmax_ERRORIF_ArgmaxOutputRankMismatch_12x11_i8_axis0/input-0.json b/operators/tensor/argmax/argmax_ERRORIF_ArgmaxOutputRankMismatch_12x11_i8_axis0/input-0.json new file mode 100644 index 000000000..8ac546960 --- /dev/null +++ b/operators/tensor/argmax/argmax_ERRORIF_ArgmaxOutputRankMismatch_12x11_i8_axis0/input-0.json @@ -0,0 +1,161 @@ +{ + "type": "int32", + "data": [ + [ + 75, + -32, + -13, + -108, + 111, + -103, + 108, + 39, + 107, + -34, + 101 + ], + [ + -19, + -39, + -42, + 115, + -9, + -6, + 36, + 14, + 10, + -31, + -86 + ], + [ + 126, + -3, + 120, + -11, + 25, + 11, + 119, + -100, + 4, + -89, + 94 + ], + [ + 7, + 108, + -58, + -87, + 33, + -91, + -33, + -48, + -72, + -95, + 40 + ], + [ + 66, + -28, + -57, + -88, + 45, + 79, + 12, + -18, + 37, + 106, + 125 + ], + [ + -79, + -6, + 96, + 34, + 80, + 126, + -102, + 28, + 8, + -56, + 39 + ], + [ + -102, + -2, + -22, + -29, + 29, + 113, + 114, + 51, + -44, + 119, + 127 + ], + [ + 88, + 95, + 81, + 66, + 57, + 35, + 37, + -29, + 99, + 34, + 29 + ], + [ + 61, + -109, + 107, + 21, + 113, + -102, + -69, + 115, + 49, + 37, + -25 + ], + [ + 14, + 11, + -78, + 17, + 4, + -48, + -41, + 68, + 44, + -8, + 26 + ], + [ + -67, + -1, + 15, + -64, + -85, + 6, + 112, + -10, + 102, + 89, + 62 + ], + [ + 100, + -23, + 66, + -91, + -47, + 17, + -119, + 67, + 108, + -102, + 125 + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/argmax/argmax_ERRORIF_ArgmaxOutputRankMismatch_12x11_i8_axis0/test.json b/operators/tensor/argmax/argmax_ERRORIF_ArgmaxOutputRankMismatch_12x11_i8_axis0/test.json new file mode 100644 index 000000000..5ed2c9025 --- /dev/null +++ b/operators/tensor/argmax/argmax_ERRORIF_ArgmaxOutputRankMismatch_12x11_i8_axis0/test.json @@ -0,0 +1,52 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "ARGMAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 11 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 11, + 1 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |