diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:50 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:50 +0100 |
commit | fe3f0127401c10bd7447ff8490cce5ffaabd42d8 (patch) | |
tree | 63b989a86afba6699d0da1f45bba59c4ac82664c /operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputType_13x6_i4 | |
parent | 6832c05b5377f10c8a1d621a51dc91c4f3c3a712 (diff) | |
download | conformance_tests-fe3f0127401c10bd7447ff8490cce5ffaabd42d8.tar.gz |
Updating BITWISE_NOT tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Id83d5a0857acb35c694bc28a974f2efa63defc50
Diffstat (limited to 'operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputType_13x6_i4')
3 files changed, 176 insertions, 0 deletions
diff --git a/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputType_13x6_i4/desc.json b/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputType_13x6_i4/desc.json new file mode 100644 index 000000000..453da2758 --- /dev/null +++ b/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputType_13x6_i4/desc.json @@ -0,0 +1,18 @@ +{ + "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": "Input data type not supported for this operator" +}
\ No newline at end of file diff --git a/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputType_13x6_i4/input-0.json b/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputType_13x6_i4/input-0.json new file mode 100644 index 000000000..4a5454c94 --- /dev/null +++ b/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputType_13x6_i4/input-0.json @@ -0,0 +1,109 @@ +{ + "type": "int32", + "data": [ + [ + 1, + -5, + -5, + -1, + 0, + 1 + ], + [ + -4, + 0, + -3, + 3, + 4, + 2 + ], + [ + -7, + 7, + -7, + 7, + -7, + 0 + ], + [ + -6, + -6, + 3, + 3, + -6, + 7 + ], + [ + -3, + -3, + -3, + -1, + -5, + -1 + ], + [ + -4, + -7, + -2, + 3, + 4, + -2 + ], + [ + -3, + 4, + 3, + 5, + 6, + 5 + ], + [ + 7, + -1, + -2, + -3, + -4, + 4 + ], + [ + 3, + 5, + -5, + 0, + -4, + 6 + ], + [ + -3, + -5, + 1, + 6, + 6, + -6 + ], + [ + -3, + -5, + -3, + 1, + -3, + -6 + ], + [ + 0, + -7, + -4, + -7, + -6, + -1 + ], + [ + 5, + 4, + -6, + -7, + -2, + 2 + ] + ] +}
\ No newline at end of file diff --git a/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputType_13x6_i4/test.json b/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputType_13x6_i4/test.json new file mode 100644 index 000000000..8690ebeee --- /dev/null +++ b/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputType_13x6_i4/test.json @@ -0,0 +1,49 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "BITWISE_NOT", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 6 + ], + type: "INT4" + }, + { + name: "result-0", + shape: [ + 13, + 6 + ], + type: "INT4" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |