diff options
Diffstat (limited to 'operators/ew_unary/negate/negate_ERRORIF_WrongInputList_10x2x9_i32')
3 files changed, 322 insertions, 0 deletions
diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_10x2x9_i32/desc.json b/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_10x2x9_i32/desc.json new file mode 100644 index 000000000..bf7c1974a --- /dev/null +++ b/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_10x2x9_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/negate/negate_ERRORIF_WrongInputList_10x2x9_i32/input-0.json b/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_10x2x9_i32/input-0.json new file mode 100644 index 000000000..54c5d1089 --- /dev/null +++ b/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_10x2x9_i32/input-0.json @@ -0,0 +1,245 @@ +{ + "type": "int32", + "data": [ + [ + [ + -1163782648, + -480082080, + 183004807, + -1052059632, + -645231570, + 2117629789, + 1358859525, + 451218093, + -889818780 + ], + [ + 1463372397, + 1537681218, + 2081641779, + 722083496, + -1185642324, + -529474537, + 1824677882, + -1703934976, + 1264772510 + ] + ], + [ + [ + 5682401, + -194787788, + -1459296425, + 1927549321, + -1249377466, + 386097315, + 217330979, + -456617141, + -1521712943 + ], + [ + -1460695460, + 590473624, + 978806490, + -1106428194, + 1176952940, + 790220303, + -1258805373, + -497740472, + -550436319 + ] + ], + [ + [ + 234257893, + -1911079979, + 1939035184, + 245905101, + 798598379, + 429777186, + -429641980, + 1495745475, + -757039482 + ], + [ + -2035170213, + 261780752, + -1633602674, + 1378643500, + -2011900925, + -1248541372, + 1908892179, + -1019777561, + 55350600 + ] + ], + [ + [ + 1605725416, + -1090922072, + -858246635, + -2065441375, + 1298689472, + -1732934025, + 2052493858, + 945570748, + -800597405 + ], + [ + -84682013, + 74059803, + 1006844186, + -555340428, + -1008496746, + -1579230814, + -259632881, + -80316632, + 531985427 + ] + ], + [ + [ + 1433117508, + -1235586895, + -1189994224, + -912581999, + -1444757006, + -1539284176, + 1286657822, + 909654939, + 1416019627 + ], + [ + 353438786, + 1361132177, + -237629869, + 1635355357, + 289209863, + -2003425327, + -1418246427, + 70801321, + 1343835429 + ] + ], + [ + [ + -1516072799, + 1097227274, + 1671585321, + -1365785070, + 232536097, + 1656619844, + -821624616, + -455370854, + -216445740 + ], + [ + -156177290, + -720248539, + 134261653, + -987482403, + 1257982809, + 784556690, + -1443068213, + 1506554397, + -1009238029 + ] + ], + [ + [ + 124416642, + 1874394612, + 780863871, + 1880337447, + 441389507, + 1327023300, + -155548587, + -1424067794, + -1385973299 + ], + [ + 407923626, + -1529278424, + -232054671, + -157897314, + -1800696721, + 1489562855, + -1823009146, + -795477753, + 1532602349 + ] + ], + [ + [ + -1985992514, + -1758792115, + 1476396883, + -981872317, + 1764618067, + -1500126369, + -1443975054, + 322568533, + 1947413247 + ], + [ + 1116784812, + 469967115, + -1008532438, + -1850276986, + 1211380498, + -1642233038, + -1396001764, + -254071566, + -615314141 + ] + ], + [ + [ + 1574797730, + -1104316615, + 653299121, + -196103602, + -1121906582, + 2065916081, + 1265845843, + 1017036334, + -176257168 + ], + [ + -1263747731, + 627712992, + 2003319719, + -1004643084, + 778849449, + 1539939729, + -196819312, + -1803994759, + 1787791708 + ] + ], + [ + [ + -1689859540, + 1128849366, + -91983525, + 984378145, + 881814654, + -1284485457, + -1728425434, + -1597880631, + -1287441618 + ], + [ + 1570320664, + -1771999835, + 773761610, + -501722399, + 1362545056, + 424081362, + 1141405150, + 1404244721, + 1731333492 + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_10x2x9_i32/test.json b/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_10x2x9_i32/test.json new file mode 100644 index 000000000..5f6eb8644 --- /dev/null +++ b/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_10x2x9_i32/test.json @@ -0,0 +1,55 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 2, + 9 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 10, + 2, + 9 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |