diff options
Diffstat (limited to 'operators/scatter_gather/scatter/scatter_ERRORIF_WrongOutputList_1x12x11_i16')
4 files changed, 380 insertions, 0 deletions
diff --git a/operators/scatter_gather/scatter/scatter_ERRORIF_WrongOutputList_1x12x11_i16/desc.json b/operators/scatter_gather/scatter/scatter_ERRORIF_WrongOutputList_1x12x11_i16/desc.json new file mode 100644 index 000000000..dc8dfba88 --- /dev/null +++ b/operators/scatter_gather/scatter/scatter_ERRORIF_WrongOutputList_1x12x11_i16/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/scatter_gather/scatter/scatter_ERRORIF_WrongOutputList_1x12x11_i16/input-0.json b/operators/scatter_gather/scatter/scatter_ERRORIF_WrongOutputList_1x12x11_i16/input-0.json new file mode 100644 index 000000000..806743ea8 --- /dev/null +++ b/operators/scatter_gather/scatter/scatter_ERRORIF_WrongOutputList_1x12x11_i16/input-0.json @@ -0,0 +1,163 @@ +{ + "type": "int32", + "data": [ + [ + [ + 5099, + 5546, + -7329, + -24451, + 4763, + 26037, + -26798, + 24928, + -5568, + 2372, + -21929 + ], + [ + 7981, + -20818, + -14865, + 14523, + -29458, + -3462, + 6197, + -24116, + -13451, + -10257, + 10723 + ], + [ + 31241, + 22036, + -20332, + -31578, + -29366, + 6272, + -22528, + -17611, + 22766, + 24503, + 22218 + ], + [ + -16144, + 7843, + 7259, + -20628, + 3508, + 1655, + -6805, + 16492, + 11640, + 2140, + 14796 + ], + [ + 17243, + 4386, + -15226, + 16935, + 14261, + 31681, + -22952, + -5291, + 27802, + 955, + 29007 + ], + [ + -31951, + -30464, + 19400, + -9278, + 1325, + -4718, + -6032, + 28801, + -26603, + 17840, + 25536 + ], + [ + 10316, + -6881, + -22282, + 11965, + -2045, + -22979, + -9198, + 30248, + -15376, + -21074, + 11925 + ], + [ + -19691, + 27519, + 23526, + 31688, + 27039, + -16793, + -18865, + -10313, + -1980, + 24903, + 15302 + ], + [ + 9465, + 24796, + 9560, + -7927, + -5702, + 1115, + -26951, + 15841, + 10012, + 15147, + 2224 + ], + [ + 18544, + 29474, + 4583, + -3645, + -25912, + 18263, + 26474, + 13073, + 23958, + 23671, + 19536 + ], + [ + 188, + -26224, + -32556, + -19373, + -4521, + 15964, + -2897, + -31252, + -18983, + 31406, + 31983 + ], + [ + -8052, + 19987, + 14372, + 28263, + 25399, + 8437, + -6906, + 8300, + -11854, + -9956, + 7126 + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/scatter_gather/scatter/scatter_ERRORIF_WrongOutputList_1x12x11_i16/input-1.json b/operators/scatter_gather/scatter/scatter_ERRORIF_WrongOutputList_1x12x11_i16/input-1.json new file mode 100644 index 000000000..9b6d0dfd9 --- /dev/null +++ b/operators/scatter_gather/scatter/scatter_ERRORIF_WrongOutputList_1x12x11_i16/input-1.json @@ -0,0 +1,85 @@ +{ + "type": "int32", + "data": [ + [ + [ + 4679, + 5307, + -7558, + -5955, + -32101, + 6669, + 4966, + 28533, + 280, + -2121, + -28333 + ], + [ + -19875, + -10615, + -8048, + -9000, + -6940, + 17623, + -24176, + -10994, + -22095, + -12597, + 12095 + ], + [ + -29704, + -10520, + -31216, + 29812, + 14893, + -16804, + -19779, + -26285, + -1778, + 16613, + 5518 + ], + [ + 24971, + -10236, + -14542, + -1439, + -19524, + 31171, + -20594, + -1385, + 1442, + -29030, + -2070 + ], + [ + -2969, + -15766, + -24382, + -29808, + -32206, + -1213, + -26881, + 30102, + -16729, + 9995, + 11369 + ], + [ + -295, + 25140, + -25514, + -17431, + -16225, + -23894, + -13450, + -12276, + 17354, + -13001, + 24688 + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/scatter_gather/scatter/scatter_ERRORIF_WrongOutputList_1x12x11_i16/test.json b/operators/scatter_gather/scatter/scatter_ERRORIF_WrongOutputList_1x12x11_i16/test.json new file mode 100644 index 000000000..d54e38a95 --- /dev/null +++ b/operators/scatter_gather/scatter/scatter_ERRORIF_WrongOutputList_1x12x11_i16/test.json @@ -0,0 +1,108 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + + ], + outputs: [ + "const-2" + ] + }, + { + op: "SCATTER", + attribute_type: "NONE", + inputs: [ + "input-0", + "const-2", + "input-1" + ], + outputs: [ + "result-0", + "eiDummyOutput" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 12, + 11 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 1, + 6, + 11 + ], + type: "INT16" + }, + { + name: "const-2", + shape: [ + 1, + 6 + ], + type: "INT32", + data: [ + 9, + 0, + 0, + 0, + 10, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 11, + 0, + 0, + 0, + 7, + 0, + 0, + 0, + 11, + 0, + 0, + 0 + ] + }, + { + name: "result-0", + shape: [ + 1, + 12, + 11 + ], + type: "INT16" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |