diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:30 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:30 +0100 |
commit | 14a8c70ad3e31e45ced57b363202ccd5342f291a (patch) | |
tree | 2062c328e776f4411e99f23ca0c09cf24ef31c57 /operators/ew_binary/add/add_ERRORIF_WrongInputList_38_i32 | |
parent | 440fbd6624908131c5e3db9d7abbf1143da62c18 (diff) | |
download | conformance_tests-14a8c70ad3e31e45ced57b363202ccd5342f291a.tar.gz |
Updating ADD tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I20fb64c5bea18b3f1cd77f70ec820b5ffa5d936a
Diffstat (limited to 'operators/ew_binary/add/add_ERRORIF_WrongInputList_38_i32')
4 files changed, 126 insertions, 0 deletions
diff --git a/operators/ew_binary/add/add_ERRORIF_WrongInputList_38_i32/desc.json b/operators/ew_binary/add/add_ERRORIF_WrongInputList_38_i32/desc.json new file mode 100644 index 000000000..32d976811 --- /dev/null +++ b/operators/ew_binary/add/add_ERRORIF_WrongInputList_38_i32/desc.json @@ -0,0 +1,20 @@ +{ + "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 input list does not match expected input" +}
\ No newline at end of file diff --git a/operators/ew_binary/add/add_ERRORIF_WrongInputList_38_i32/input-0.json b/operators/ew_binary/add/add_ERRORIF_WrongInputList_38_i32/input-0.json new file mode 100644 index 000000000..b6d42e0de --- /dev/null +++ b/operators/ew_binary/add/add_ERRORIF_WrongInputList_38_i32/input-0.json @@ -0,0 +1,43 @@ +{ + "type": "int32", + "data": [ + 1868046992, + -609819958, + -457415050, + 1948717854, + 1204718310, + -794450263, + -1193331723, + 1310255045, + -2088037699, + -2021937255, + 2128944889, + 1485260655, + 57416981, + -247821552, + -1133583853, + 1628479576, + 1913138576, + -1201994948, + -514067743, + 2102804919, + 13272798, + -280212449, + 1465403689, + 1050966197, + -942309863, + -1345352974, + 182323987, + 262935745, + 208739984, + -1819506929, + 493599798, + 1473994106, + 131113605, + -1687503350, + -1623513404, + 588772378, + 624268289, + 947637437 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/add/add_ERRORIF_WrongInputList_38_i32/input-1.json b/operators/ew_binary/add/add_ERRORIF_WrongInputList_38_i32/input-1.json new file mode 100644 index 000000000..844a6fcf9 --- /dev/null +++ b/operators/ew_binary/add/add_ERRORIF_WrongInputList_38_i32/input-1.json @@ -0,0 +1,6 @@ +{ + "type": "int32", + "data": [ + 610941515 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/add/add_ERRORIF_WrongInputList_38_i32/test.json b/operators/ew_binary/add/add_ERRORIF_WrongInputList_38_i32/test.json new file mode 100644 index 000000000..3331e8145 --- /dev/null +++ b/operators/ew_binary/add/add_ERRORIF_WrongInputList_38_i32/test.json @@ -0,0 +1,57 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1", + "eiDummyInput" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 38 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 38 + ], + type: "INT32" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |