diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:07:02 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:07:02 +0100 |
commit | 3d57f88f6b911b11b007245638cd77f9f539bcc9 (patch) | |
tree | 4d0f3598c31135f4583ee0873fc77ef8d9d71be9 /operators/reduction/reduce_all/reduce_all_24x21_b_axis0 | |
parent | 77e421abb257de214351c6d95e7f6a2277ba2adb (diff) | |
download | conformance_tests-3d57f88f6b911b11b007245638cd77f9f539bcc9.tar.gz |
Updating REDUCE_ALL tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I6acae86c253d7498fe4a0cfb2f7bf2a5ee9c4ad9
Diffstat (limited to 'operators/reduction/reduce_all/reduce_all_24x21_b_axis0')
4 files changed, 657 insertions, 0 deletions
diff --git a/operators/reduction/reduce_all/reduce_all_24x21_b_axis0/Conformance-result-0.json b/operators/reduction/reduce_all/reduce_all_24x21_b_axis0/Conformance-result-0.json new file mode 100644 index 000000000..dc49e359b --- /dev/null +++ b/operators/reduction/reduce_all/reduce_all_24x21_b_axis0/Conformance-result-0.json @@ -0,0 +1,28 @@ +{ + "type": "bool", + "data": [ + [ + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ] + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_all/reduce_all_24x21_b_axis0/desc.json b/operators/reduction/reduce_all/reduce_all_24x21_b_axis0/desc.json new file mode 100644 index 000000000..3cd43b509 --- /dev/null +++ b/operators/reduction/reduce_all/reduce_all_24x21_b_axis0/desc.json @@ -0,0 +1,20 @@ +{ + "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": 0, + "expected_failure": false, + "expected_result_file": [ + "Conformance-result-0.npy" + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_all/reduce_all_24x21_b_axis0/input-0.json b/operators/reduction/reduce_all/reduce_all_24x21_b_axis0/input-0.json new file mode 100644 index 000000000..fb5f11618 --- /dev/null +++ b/operators/reduction/reduce_all/reduce_all_24x21_b_axis0/input-0.json @@ -0,0 +1,557 @@ +{ + "type": "bool", + "data": [ + [ + true, + true, + true, + true, + false, + true, + false, + true, + false, + false, + true, + true, + true, + false, + true, + true, + false, + false, + false, + false, + true + ], + [ + true, + false, + true, + true, + false, + true, + false, + true, + true, + false, + false, + true, + false, + true, + true, + true, + true, + false, + false, + false, + false + ], + [ + false, + true, + false, + true, + true, + true, + true, + false, + true, + false, + false, + true, + false, + false, + false, + true, + false, + false, + false, + true, + false + ], + [ + false, + false, + true, + true, + true, + false, + false, + true, + true, + true, + false, + false, + true, + true, + false, + true, + true, + false, + true, + false, + false + ], + [ + true, + true, + false, + true, + false, + true, + false, + true, + true, + true, + true, + false, + true, + false, + true, + true, + false, + true, + true, + false, + false + ], + [ + false, + false, + false, + true, + true, + false, + true, + true, + false, + true, + true, + true, + true, + true, + false, + true, + true, + false, + true, + false, + false + ], + [ + false, + true, + false, + false, + false, + true, + true, + false, + false, + true, + false, + true, + false, + true, + false, + false, + true, + false, + true, + true, + true + ], + [ + true, + true, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + true, + true, + true, + false, + true, + false, + true, + true, + true + ], + [ + false, + false, + true, + false, + false, + false, + false, + false, + false, + true, + true, + true, + false, + true, + false, + false, + false, + false, + true, + false, + true + ], + [ + false, + true, + false, + false, + true, + true, + false, + true, + false, + true, + true, + false, + true, + false, + false, + false, + false, + true, + false, + false, + true + ], + [ + false, + true, + false, + true, + true, + true, + false, + false, + true, + false, + true, + false, + true, + true, + false, + false, + true, + false, + true, + false, + true + ], + [ + true, + false, + true, + false, + true, + false, + false, + false, + false, + false, + true, + false, + true, + false, + false, + true, + true, + false, + false, + true, + true + ], + [ + true, + false, + false, + true, + true, + false, + false, + false, + true, + false, + false, + false, + true, + false, + false, + false, + false, + true, + false, + false, + true + ], + [ + false, + true, + true, + false, + true, + false, + true, + false, + true, + true, + true, + false, + false, + false, + false, + true, + false, + true, + true, + false, + false + ], + [ + true, + false, + false, + true, + true, + false, + false, + false, + true, + true, + true, + true, + true, + false, + false, + true, + true, + true, + false, + false, + false + ], + [ + false, + true, + true, + false, + false, + true, + false, + true, + true, + false, + false, + true, + true, + false, + true, + true, + true, + false, + true, + true, + false + ], + [ + false, + true, + false, + false, + false, + true, + true, + false, + true, + false, + true, + true, + true, + false, + true, + false, + true, + false, + false, + false, + true + ], + [ + false, + true, + false, + false, + true, + false, + true, + true, + false, + false, + false, + true, + true, + false, + false, + false, + false, + true, + true, + false, + true + ], + [ + false, + false, + true, + true, + true, + false, + false, + false, + false, + true, + true, + false, + true, + false, + true, + false, + false, + true, + false, + false, + false + ], + [ + false, + false, + false, + true, + true, + false, + false, + true, + true, + true, + true, + true, + false, + false, + true, + true, + false, + true, + false, + true, + true + ], + [ + false, + false, + false, + true, + true, + false, + false, + true, + false, + false, + false, + true, + true, + false, + true, + true, + false, + true, + true, + false, + false + ], + [ + true, + true, + false, + true, + true, + false, + true, + false, + true, + false, + false, + true, + false, + true, + false, + true, + true, + true, + false, + false, + true + ], + [ + true, + true, + false, + true, + false, + false, + true, + false, + true, + false, + false, + false, + true, + true, + true, + true, + true, + true, + true, + false, + false + ], + [ + false, + false, + true, + false, + false, + true, + true, + true, + false, + false, + true, + false, + false, + false, + true, + true, + true, + true, + true, + false, + true + ] + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_all/reduce_all_24x21_b_axis0/test.json b/operators/reduction/reduce_all/reduce_all_24x21_b_axis0/test.json new file mode 100644 index 000000000..345d712fa --- /dev/null +++ b/operators/reduction/reduce_all/reduce_all_24x21_b_axis0/test.json @@ -0,0 +1,52 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "REDUCE_ALL", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 24, + 21 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1, + 21 + ], + type: "BOOL" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |