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_WrongOutputType_11_i8 | |
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_WrongOutputType_11_i8')
3 files changed, 81 insertions, 0 deletions
diff --git a/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongOutputType_11_i8/desc.json b/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongOutputType_11_i8/desc.json new file mode 100644 index 000000000..bb4daa433 --- /dev/null +++ b/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongOutputType_11_i8/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": "Output data type not supported for this configuration of operator" +}
\ No newline at end of file diff --git a/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongOutputType_11_i8/input-0.json b/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongOutputType_11_i8/input-0.json new file mode 100644 index 000000000..40e3c2e8c --- /dev/null +++ b/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongOutputType_11_i8/input-0.json @@ -0,0 +1,16 @@ +{ + "type": "int32", + "data": [ + -116, + -80, + 63, + -42, + 29, + -101, + -59, + 20, + -30, + -8, + 32 + ] +}
\ No newline at end of file diff --git a/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongOutputType_11_i8/test.json b/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongOutputType_11_i8/test.json new file mode 100644 index 000000000..ac0ea5bd0 --- /dev/null +++ b/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongOutputType_11_i8/test.json @@ -0,0 +1,47 @@ +{ + 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: [ + 11 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 11 + ], + type: "INT48" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |