diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:07:07 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:07:07 +0100 |
commit | ae5fcadbf03f8b5779065b22039f952f813dfc0e (patch) | |
tree | 6e6f05841ace4dd173b135f2e1d3648015d95f0d /operators/reduction/reduce_min/reduce_min_11x10_i8_axis1 | |
parent | d2f0a9657439fe7ad7c60208a9eacafdcb1af5be (diff) | |
download | conformance_tests-ae5fcadbf03f8b5779065b22039f952f813dfc0e.tar.gz |
Updating REDUCE_MIN tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I106585a7a6a8dea1c9cdcb923804d1ad60d06a1b
Diffstat (limited to 'operators/reduction/reduce_min/reduce_min_11x10_i8_axis1')
4 files changed, 247 insertions, 0 deletions
diff --git a/operators/reduction/reduce_min/reduce_min_11x10_i8_axis1/Conformance-result-0.json b/operators/reduction/reduce_min/reduce_min_11x10_i8_axis1/Conformance-result-0.json new file mode 100644 index 000000000..2ecc7476b --- /dev/null +++ b/operators/reduction/reduce_min/reduce_min_11x10_i8_axis1/Conformance-result-0.json @@ -0,0 +1,38 @@ +{ + "type": "int32", + "data": [ + [ + -90 + ], + [ + -106 + ], + [ + -98 + ], + [ + -108 + ], + [ + -104 + ], + [ + -124 + ], + [ + -107 + ], + [ + -118 + ], + [ + -102 + ], + [ + -123 + ], + [ + -112 + ] + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_min/reduce_min_11x10_i8_axis1/desc.json b/operators/reduction/reduce_min/reduce_min_11x10_i8_axis1/desc.json new file mode 100644 index 000000000..3cd43b509 --- /dev/null +++ b/operators/reduction/reduce_min/reduce_min_11x10_i8_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_min/reduce_min_11x10_i8_axis1/input-0.json b/operators/reduction/reduce_min/reduce_min_11x10_i8_axis1/input-0.json new file mode 100644 index 000000000..242405167 --- /dev/null +++ b/operators/reduction/reduce_min/reduce_min_11x10_i8_axis1/input-0.json @@ -0,0 +1,137 @@ +{ + "type": "int32", + "data": [ + [ + -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, + -21, + -5, + -9 + ], + [ + 72, + -112, + -107, + -58, + -4, + 43, + -3, + -16, + 112, + -87 + ] + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_min/reduce_min_11x10_i8_axis1/test.json b/operators/reduction/reduce_min/reduce_min_11x10_i8_axis1/test.json new file mode 100644 index 000000000..8afe668f7 --- /dev/null +++ b/operators/reduction/reduce_min/reduce_min_11x10_i8_axis1/test.json @@ -0,0 +1,52 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 10 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 11, + 1 + ], + type: "INT8" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |