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_14x14_i8_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_14x14_i8_axis0')
4 files changed, 322 insertions, 0 deletions
diff --git a/operators/reduction/reduce_max/reduce_max_14x14_i8_axis0/Conformance-result-0.json b/operators/reduction/reduce_max/reduce_max_14x14_i8_axis0/Conformance-result-0.json new file mode 100644 index 000000000..93df62bac --- /dev/null +++ b/operators/reduction/reduce_max/reduce_max_14x14_i8_axis0/Conformance-result-0.json @@ -0,0 +1,21 @@ +{ + "type": "int32", + "data": [ + [ + 87, + 103, + 112, + 120, + 125, + 85, + 123, + 67, + 85, + 118, + 126, + 104, + 127, + 117 + ] + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_max/reduce_max_14x14_i8_axis0/desc.json b/operators/reduction/reduce_max/reduce_max_14x14_i8_axis0/desc.json new file mode 100644 index 000000000..3cd43b509 --- /dev/null +++ b/operators/reduction/reduce_max/reduce_max_14x14_i8_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_14x14_i8_axis0/input-0.json b/operators/reduction/reduce_max/reduce_max_14x14_i8_axis0/input-0.json new file mode 100644 index 000000000..7966df976 --- /dev/null +++ b/operators/reduction/reduce_max/reduce_max_14x14_i8_axis0/input-0.json @@ -0,0 +1,229 @@ +{ + "type": "int32", + "data": [ + [ + 16, + 43, + 112, + -17, + -87, + 85, + 33, + 51, + -104, + -49, + 68, + 85, + -17, + 78 + ], + [ + 87, + -29, + 101, + -55, + -67, + 46, + 35, + -93, + 85, + -77, + 78, + -127, + 75, + 73 + ], + [ + 71, + 42, + -8, + 52, + -58, + 71, + 14, + -11, + 1, + 17, + -119, + -93, + -66, + -99 + ], + [ + -16, + 43, + 39, + -8, + 90, + 16, + -108, + 67, + 19, + 34, + 16, + 13, + -105, + 15 + ], + [ + 75, + -51, + 26, + -121, + -40, + -17, + 123, + -74, + -58, + -24, + 126, + 90, + -120, + -69 + ], + [ + 82, + -114, + 91, + -56, + 106, + -53, + -17, + 41, + -96, + 14, + 1, + 72, + 127, + 42 + ], + [ + -24, + -24, + -22, + 80, + -46, + -86, + -43, + -123, + -101, + -105, + 69, + 56, + 50, + -10 + ], + [ + 55, + -87, + 102, + 0, + 112, + -90, + -1, + 50, + -2, + -14, + -86, + -31, + -67, + -51 + ], + [ + 47, + 33, + 27, + -36, + 117, + -106, + -41, + -98, + -42, + 118, + -35, + 104, + -2, + 51 + ], + [ + -11, + -60, + 67, + 120, + -61, + 71, + -62, + 55, + 73, + -13, + 60, + -59, + -108, + -104 + ], + [ + -14, + 103, + -96, + -12, + 52, + -77, + 56, + -50, + 79, + 20, + 12, + -83, + -10, + 91 + ], + [ + -124, + 66, + -2, + 56, + 41, + -18, + -49, + 32, + -93, + 21, + -104, + 38, + 32, + -107 + ], + [ + 65, + -22, + 73, + -118, + -83, + -2, + -80, + -44, + 41, + -92, + 45, + -102, + -84, + 22 + ], + [ + 75, + -85, + -52, + 108, + 125, + 20, + -14, + -40, + 28, + 23, + -53, + -123, + -90, + 117 + ] + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_max/reduce_max_14x14_i8_axis0/test.json b/operators/reduction/reduce_max/reduce_max_14x14_i8_axis0/test.json new file mode 100644 index 000000000..b299cdb84 --- /dev/null +++ b/operators/reduction/reduce_max/reduce_max_14x14_i8_axis0/test.json @@ -0,0 +1,52 @@ +{ + 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: [ + 14, + 14 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 14 + ], + type: "INT8" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |