diff options
Diffstat (limited to 'operators/ew_unary/abs/abs_ERRORIF_WrongInputList_12x6_i32')
3 files changed, 172 insertions, 0 deletions
diff --git a/operators/ew_unary/abs/abs_ERRORIF_WrongInputList_12x6_i32/desc.json b/operators/ew_unary/abs/abs_ERRORIF_WrongInputList_12x6_i32/desc.json new file mode 100644 index 000000000..bf7c1974a --- /dev/null +++ b/operators/ew_unary/abs/abs_ERRORIF_WrongInputList_12x6_i32/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": "Op input list does not match expected input", + "profile": [ + "tosa-bi", + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/ew_unary/abs/abs_ERRORIF_WrongInputList_12x6_i32/input-0.json b/operators/ew_unary/abs/abs_ERRORIF_WrongInputList_12x6_i32/input-0.json new file mode 100644 index 000000000..1bb0091df --- /dev/null +++ b/operators/ew_unary/abs/abs_ERRORIF_WrongInputList_12x6_i32/input-0.json @@ -0,0 +1,101 @@ +{ + "type": "int32", + "data": [ + [ + -1562638632, + -791663420, + -989054411, + -1423058071, + 635234684, + -2115235923 + ], + [ + -489753949, + -1625180810, + 494984403, + 1077461260, + -142353259, + -236558714 + ], + [ + -215820547, + -1293966089, + -534451035, + 1859839785, + -1970726403, + 1234967674 + ], + [ + -1439966875, + -1656291039, + -920832583, + -992320605, + -789430745, + 1500839739 + ], + [ + 1737984032, + 826487719, + -1519568896, + 1913602124, + 1492425238, + -1819994806 + ], + [ + -483992181, + 1182882195, + -1764518484, + -1819299116, + 455180440, + -701531645 + ], + [ + -250692283, + 1076614161, + 192602064, + 906280938, + -1606070689, + -2138387667 + ], + [ + -1066563700, + -1280145356, + -755795539, + 1196464830, + -1494747629, + -1605684207 + ], + [ + -1285297800, + -745696921, + -1300199112, + -1357684230, + 341874465, + -1668790064 + ], + [ + -1486232264, + 1445796567, + -2069279805, + -1884022860, + -1849200748, + 154833349 + ], + [ + 836557713, + 827513546, + 816417369, + -1900135543, + -667673352, + 573063616 + ], + [ + 781925026, + -712683186, + 1489238260, + 1432565827, + 1140828834, + 1278438342 + ] + ] +}
\ No newline at end of file diff --git a/operators/ew_unary/abs/abs_ERRORIF_WrongInputList_12x6_i32/test.json b/operators/ew_unary/abs/abs_ERRORIF_WrongInputList_12x6_i32/test.json new file mode 100644 index 000000000..f2fa07e9b --- /dev/null +++ b/operators/ew_unary/abs/abs_ERRORIF_WrongInputList_12x6_i32/test.json @@ -0,0 +1,49 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "ABS", + attribute_type: "NONE", + inputs: [ + + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 6 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12, + 6 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |