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_axis1 | |
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_axis1')
4 files changed, 298 insertions, 0 deletions
diff --git a/operators/reduction/reduce_max/reduce_max_27x3_i16_axis1/Conformance-result-0.json b/operators/reduction/reduce_max/reduce_max_27x3_i16_axis1/Conformance-result-0.json new file mode 100644 index 000000000..dcc0e2bcb --- /dev/null +++ b/operators/reduction/reduce_max/reduce_max_27x3_i16_axis1/Conformance-result-0.json @@ -0,0 +1,86 @@ +{ + "type": "int32", + "data": [ + [ + 21510 + ], + [ + 31747 + ], + [ + 24576 + ], + [ + 2392 + ], + [ + 25501 + ], + [ + 9343 + ], + [ + 29415 + ], + [ + -14269 + ], + [ + 27906 + ], + [ + 25791 + ], + [ + 21853 + ], + [ + 27842 + ], + [ + 22516 + ], + [ + 26388 + ], + [ + 31429 + ], + [ + 18315 + ], + [ + 18284 + ], + [ + 21368 + ], + [ + 2363 + ], + [ + 30604 + ], + [ + 18621 + ], + [ + 12200 + ], + [ + -15306 + ], + [ + -1450 + ], + [ + 6827 + ], + [ + 331 + ], + [ + 15528 + ] + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_max/reduce_max_27x3_i16_axis1/desc.json b/operators/reduction/reduce_max/reduce_max_27x3_i16_axis1/desc.json new file mode 100644 index 000000000..3cd43b509 --- /dev/null +++ b/operators/reduction/reduce_max/reduce_max_27x3_i16_axis1/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_axis1/input-0.json b/operators/reduction/reduce_max/reduce_max_27x3_i16_axis1/input-0.json new file mode 100644 index 000000000..e32fa2201 --- /dev/null +++ b/operators/reduction/reduce_max/reduce_max_27x3_i16_axis1/input-0.json @@ -0,0 +1,140 @@ +{ + "type": "int32", + "data": [ + [ + -6972, + 21510, + -11929 + ], + [ + 31747, + 296, + 15467 + ], + [ + 24576, + 19179, + 23011 + ], + [ + 2392, + -29919, + -454 + ], + [ + -20874, + 25501, + -17253 + ], + [ + -17822, + -16425, + 9343 + ], + [ + 4668, + 29415, + -5488 + ], + [ + -14269, + -29541, + -32305 + ], + [ + -8283, + 27906, + 1556 + ], + [ + 25791, + -26105, + -26653 + ], + [ + 21853, + -25773, + -29363 + ], + [ + -6286, + 27842, + 12411 + ], + [ + -26273, + 22094, + 22516 + ], + [ + 19706, + 26388, + -17048 + ], + [ + 31429, + -11751, + 19793 + ], + [ + 5201, + 18315, + 8376 + ], + [ + 9337, + 7620, + 18284 + ], + [ + 15665, + -23950, + 21368 + ], + [ + 2363, + -11595, + 932 + ], + [ + 30604, + 23433, + 21869 + ], + [ + -2438, + 18621, + -7531 + ], + [ + 12200, + 9146, + -16398 + ], + [ + -15306, + -28762, + -23609 + ], + [ + -4351, + -1450, + -21947 + ], + [ + -5447, + 6827, + -17527 + ], + [ + -10602, + -8683, + 331 + ], + [ + -8757, + 15528, + -11306 + ] + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_max/reduce_max_27x3_i16_axis1/test.json b/operators/reduction/reduce_max/reduce_max_27x3_i16_axis1/test.json new file mode 100644 index 000000000..6c80e224a --- /dev/null +++ b/operators/reduction/reduce_max/reduce_max_27x3_i16_axis1/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: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 27, + 3 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 27, + 1 + ], + type: "INT16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |