diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:07:03 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:07:03 +0100 |
commit | 7a2e44d339d7dbd83f3d95dc4c5e1d8f3a308cb0 (patch) | |
tree | 09f31de2476c028c3147b4e53c27721638d98819 /operators/reduction/reduce_any/reduce_any_ERRORIF_WrongInputList_29_b_axis0 | |
parent | 3d57f88f6b911b11b007245638cd77f9f539bcc9 (diff) | |
download | conformance_tests-7a2e44d339d7dbd83f3d95dc4c5e1d8f3a308cb0.tar.gz |
Updating REDUCE_ANY tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I4dff8a3bdbc5fbef97f93471b7bafa09d01e6cb8
Diffstat (limited to 'operators/reduction/reduce_any/reduce_any_ERRORIF_WrongInputList_29_b_axis0')
3 files changed, 102 insertions, 0 deletions
diff --git a/operators/reduction/reduce_any/reduce_any_ERRORIF_WrongInputList_29_b_axis0/desc.json b/operators/reduction/reduce_any/reduce_any_ERRORIF_WrongInputList_29_b_axis0/desc.json new file mode 100644 index 000000000..2d7a7c8f1 --- /dev/null +++ b/operators/reduction/reduce_any/reduce_any_ERRORIF_WrongInputList_29_b_axis0/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/reduction/reduce_any/reduce_any_ERRORIF_WrongInputList_29_b_axis0/input-0.json b/operators/reduction/reduce_any/reduce_any_ERRORIF_WrongInputList_29_b_axis0/input-0.json new file mode 100644 index 000000000..ad846da52 --- /dev/null +++ b/operators/reduction/reduce_any/reduce_any_ERRORIF_WrongInputList_29_b_axis0/input-0.json @@ -0,0 +1,34 @@ +{ + "type": "bool", + "data": [ + false, + true, + true, + true, + true, + true, + true, + false, + false, + true, + false, + false, + false, + true, + true, + true, + false, + false, + true, + true, + false, + false, + false, + false, + true, + true, + false, + false, + false + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_any/reduce_any_ERRORIF_WrongInputList_29_b_axis0/test.json b/operators/reduction/reduce_any/reduce_any_ERRORIF_WrongInputList_29_b_axis0/test.json new file mode 100644 index 000000000..0e079a12a --- /dev/null +++ b/operators/reduction/reduce_any/reduce_any_ERRORIF_WrongInputList_29_b_axis0/test.json @@ -0,0 +1,50 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "REDUCE_ANY", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 29 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1 + ], + type: "BOOL" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |