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_axis0 | |
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_axis0')
4 files changed, 226 insertions, 0 deletions
diff --git a/operators/reduction/reduce_min/reduce_min_11x10_i8_axis0/Conformance-result-0.json b/operators/reduction/reduce_min/reduce_min_11x10_i8_axis0/Conformance-result-0.json new file mode 100644 index 000000000..5773d6a15 --- /dev/null +++ b/operators/reduction/reduce_min/reduce_min_11x10_i8_axis0/Conformance-result-0.json @@ -0,0 +1,17 @@ +{ + "type": "int32", + "data": [ + [ + -121, + -109, + -123, + -101, + -105, + -105, + -127, + -22, + -55, + -120 + ] + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_min/reduce_min_11x10_i8_axis0/desc.json b/operators/reduction/reduce_min/reduce_min_11x10_i8_axis0/desc.json new file mode 100644 index 000000000..3cd43b509 --- /dev/null +++ b/operators/reduction/reduce_min/reduce_min_11x10_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_min/reduce_min_11x10_i8_axis0/input-0.json b/operators/reduction/reduce_min/reduce_min_11x10_i8_axis0/input-0.json new file mode 100644 index 000000000..f5390bd37 --- /dev/null +++ b/operators/reduction/reduce_min/reduce_min_11x10_i8_axis0/input-0.json @@ -0,0 +1,137 @@ +{ + "type": "int32", + "data": [ + [ + -34, + -109, + -8, + 75, + -80, + -10, + -95, + 47, + -7, + -44 + ], + [ + -70, + 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 + ] + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_min/reduce_min_11x10_i8_axis0/test.json b/operators/reduction/reduce_min/reduce_min_11x10_i8_axis0/test.json new file mode 100644 index 000000000..2c40c387d --- /dev/null +++ b/operators/reduction/reduce_min/reduce_min_11x10_i8_axis0/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: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 10 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 10 + ], + type: "INT8" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |