diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:49 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:49 +0100 |
commit | 6832c05b5377f10c8a1d621a51dc91c4f3c3a712 (patch) | |
tree | ff281b90b68b64ace02764a25bd8945f18af2e7c /operators/ew_unary/abs/abs_ERRORIF_WrongInputList_12_i32 | |
parent | c4092d6680fe919b2631f273cdfb3342fcae4bcc (diff) | |
download | conformance_tests-6832c05b5377f10c8a1d621a51dc91c4f3c3a712.tar.gz |
Updating ABS tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I8208f6967a0e05c4116dfac217061597c40c8eb8
Diffstat (limited to 'operators/ew_unary/abs/abs_ERRORIF_WrongInputList_12_i32')
3 files changed, 82 insertions, 0 deletions
diff --git a/operators/ew_unary/abs/abs_ERRORIF_WrongInputList_12_i32/desc.json b/operators/ew_unary/abs/abs_ERRORIF_WrongInputList_12_i32/desc.json new file mode 100644 index 000000000..2d7a7c8f1 --- /dev/null +++ b/operators/ew_unary/abs/abs_ERRORIF_WrongInputList_12_i32/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": "Op input list does not match expected input" +}
\ No newline at end of file diff --git a/operators/ew_unary/abs/abs_ERRORIF_WrongInputList_12_i32/input-0.json b/operators/ew_unary/abs/abs_ERRORIF_WrongInputList_12_i32/input-0.json new file mode 100644 index 000000000..e787bc607 --- /dev/null +++ b/operators/ew_unary/abs/abs_ERRORIF_WrongInputList_12_i32/input-0.json @@ -0,0 +1,17 @@ +{ + "type": "int32", + "data": [ + 1901062407, + -1888964372, + 2000397774, + 861472187, + 932450947, + -90487391, + 1184778715, + -1271539023, + 417527367, + 1638075957, + 482613573, + -1831253858 + ] +}
\ No newline at end of file diff --git a/operators/ew_unary/abs/abs_ERRORIF_WrongInputList_12_i32/test.json b/operators/ew_unary/abs/abs_ERRORIF_WrongInputList_12_i32/test.json new file mode 100644 index 000000000..2723a8010 --- /dev/null +++ b/operators/ew_unary/abs/abs_ERRORIF_WrongInputList_12_i32/test.json @@ -0,0 +1,47 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "ABS", + attribute_type: "NONE", + inputs: [ + + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |