diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:34 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:34 +0100 |
commit | d53378c6e205afdc2a538ac438ecc717ccc2718c (patch) | |
tree | 95dfa1097fcad523250a264a4548f629a3082f57 /operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_24_i4 | |
parent | 26c9e26c22c744dd05a2fe09763ac09bc09711db (diff) | |
download | conformance_tests-d53378c6e205afdc2a538ac438ecc717ccc2718c.tar.gz |
Updating BITWISE_OR tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I86e01aee3eaff011fc596f7e3f062ea621b575e4
Diffstat (limited to 'operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_24_i4')
4 files changed, 111 insertions, 0 deletions
diff --git a/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_24_i4/desc.json b/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_24_i4/desc.json new file mode 100644 index 000000000..3a3a4eb23 --- /dev/null +++ b/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_24_i4/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": "Input data type not supported for this operator" +}
\ No newline at end of file diff --git a/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_24_i4/input-0.json b/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_24_i4/input-0.json new file mode 100644 index 000000000..ea7e30f15 --- /dev/null +++ b/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_24_i4/input-0.json @@ -0,0 +1,29 @@ +{ + "type": "int32", + "data": [ + 6, + -2, + 3, + -3, + -3, + -4, + 1, + 3, + -7, + 2, + 5, + 0, + -3, + -4, + 5, + 2, + 5, + 0, + -1, + -3, + 5, + 4, + 0, + 5 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_24_i4/input-1.json b/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_24_i4/input-1.json new file mode 100644 index 000000000..2076bd515 --- /dev/null +++ b/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_24_i4/input-1.json @@ -0,0 +1,6 @@ +{ + "type": "int32", + "data": [ + -6 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_24_i4/test.json b/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_24_i4/test.json new file mode 100644 index 000000000..3dc2498a5 --- /dev/null +++ b/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_24_i4/test.json @@ -0,0 +1,56 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "BITWISE_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 24 + ], + type: "INT4" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT4" + }, + { + name: "result-0", + shape: [ + 24 + ], + type: "INT4" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |