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_27x3_i16_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_27x3_i16_axis0')
4 files changed, 222 insertions, 0 deletions
diff --git a/operators/reduction/reduce_max/reduce_max_27x3_i16_axis0/Conformance-result-0.json b/operators/reduction/reduce_max/reduce_max_27x3_i16_axis0/Conformance-result-0.json new file mode 100644 index 000000000..c6c3e886d --- /dev/null +++ b/operators/reduction/reduce_max/reduce_max_27x3_i16_axis0/Conformance-result-0.json @@ -0,0 +1,10 @@ +{ + "type": "int32", + "data": [ + [ + 24100, + 32412, + 30317 + ] + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_max/reduce_max_27x3_i16_axis0/desc.json b/operators/reduction/reduce_max/reduce_max_27x3_i16_axis0/desc.json new file mode 100644 index 000000000..3cd43b509 --- /dev/null +++ b/operators/reduction/reduce_max/reduce_max_27x3_i16_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_27x3_i16_axis0/input-0.json b/operators/reduction/reduce_max/reduce_max_27x3_i16_axis0/input-0.json new file mode 100644 index 000000000..3ca3225dd --- /dev/null +++ b/operators/reduction/reduce_max/reduce_max_27x3_i16_axis0/input-0.json @@ -0,0 +1,140 @@ +{ + "type": "int32", + "data": [ + [ + 15618, + 19946, + -4452 + ], + [ + -2138, + 8801, + 18662 + ], + [ + 22739, + -31600, + 10719 + ], + [ + -25616, + -13899, + 21589 + ], + [ + -16351, + 19452, + -2425 + ], + [ + -17522, + -10863, + 2016 + ], + [ + 17376, + 6947, + 28391 + ], + [ + 24100, + 16603, + 6757 + ], + [ + -13773, + -5730, + -24977 + ], + [ + -8246, + 27949, + -4858 + ], + [ + -25315, + 9956, + 30317 + ], + [ + 24083, + -14807, + -3022 + ], + [ + 2032, + -16526, + -15160 + ], + [ + -17259, + 32412, + 16122 + ], + [ + 22338, + 20746, + 30090 + ], + [ + -25869, + 25010, + -28406 + ], + [ + -1611, + 6188, + -9316 + ], + [ + -23189, + -20166, + 21277 + ], + [ + -11881, + -12430, + 27745 + ], + [ + -23340, + 27214, + 27588 + ], + [ + 6459, + -21920, + -22554 + ], + [ + -14109, + 5073, + -22701 + ], + [ + -2907, + -25200, + 2640 + ], + [ + -31383, + 13699, + -29138 + ], + [ + -20001, + -21323, + 21692 + ], + [ + -29270, + -4637, + 5973 + ], + [ + 1048, + 11843, + 19864 + ] + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_max/reduce_max_27x3_i16_axis0/test.json b/operators/reduction/reduce_max/reduce_max_27x3_i16_axis0/test.json new file mode 100644 index 000000000..2c1c34762 --- /dev/null +++ b/operators/reduction/reduce_max/reduce_max_27x3_i16_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: [ + 27, + 3 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 1, + 3 + ], + type: "INT16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |