diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:07:05 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:07:05 +0100 |
commit | d2f0a9657439fe7ad7c60208a9eacafdcb1af5be (patch) | |
tree | 67fdf1745bbe2b877f670434b8f06dde47864be5 /operators/reduction/reduce_max/reduce_max_21_i32_axis0 | |
parent | 7a2e44d339d7dbd83f3d95dc4c5e1d8f3a308cb0 (diff) | |
download | conformance_tests-d2f0a9657439fe7ad7c60208a9eacafdcb1af5be.tar.gz |
Updating REDUCE_MAX tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Ifad1bf01c9285e09596729029bd9cba05a6042a1
Diffstat (limited to 'operators/reduction/reduce_max/reduce_max_21_i32_axis0')
4 files changed, 102 insertions, 0 deletions
diff --git a/operators/reduction/reduce_max/reduce_max_21_i32_axis0/Conformance-result-0.json b/operators/reduction/reduce_max/reduce_max_21_i32_axis0/Conformance-result-0.json new file mode 100644 index 000000000..1ddaa0ca6 --- /dev/null +++ b/operators/reduction/reduce_max/reduce_max_21_i32_axis0/Conformance-result-0.json @@ -0,0 +1,6 @@ +{ + "type": "int32", + "data": [ + 2007939011 + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_max/reduce_max_21_i32_axis0/desc.json b/operators/reduction/reduce_max/reduce_max_21_i32_axis0/desc.json new file mode 100644 index 000000000..3cd43b509 --- /dev/null +++ b/operators/reduction/reduce_max/reduce_max_21_i32_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_max/reduce_max_21_i32_axis0/input-0.json b/operators/reduction/reduce_max/reduce_max_21_i32_axis0/input-0.json new file mode 100644 index 000000000..3892ef803 --- /dev/null +++ b/operators/reduction/reduce_max/reduce_max_21_i32_axis0/input-0.json @@ -0,0 +1,26 @@ +{ + "type": "int32", + "data": [ + -1484815326, + 1045291563, + 786189267, + 1814743252, + 1051245454, + -572765429, + 2007939011, + -382894814, + -748074391, + 1741762850, + -556371327, + -1819592161, + -130756795, + 1269935824, + -1333710358, + -159169034, + -1589475032, + 800917817, + -104346548, + -729301195, + -1172915415 + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_max/reduce_max_21_i32_axis0/test.json b/operators/reduction/reduce_max/reduce_max_21_i32_axis0/test.json new file mode 100644 index 000000000..a3352e0f1 --- /dev/null +++ b/operators/reduction/reduce_max/reduce_max_21_i32_axis0/test.json @@ -0,0 +1,50 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 21 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |