aboutsummaryrefslogtreecommitdiff
path: root/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_13x6_i8_axis7
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:07:07 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:07:07 +0100
commitae5fcadbf03f8b5779065b22039f952f813dfc0e (patch)
tree6e6f05841ace4dd173b135f2e1d3648015d95f0d /operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_13x6_i8_axis7
parentd2f0a9657439fe7ad7c60208a9eacafdcb1af5be (diff)
downloadconformance_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_ERRORIF_AxisLargerRank_13x6_i8_axis7')
-rw-r--r--operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_13x6_i8_axis7/desc.json18
-rw-r--r--operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_13x6_i8_axis7/input-0.json109
-rw-r--r--operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_13x6_i8_axis7/test.json52
3 files changed, 179 insertions, 0 deletions
diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_13x6_i8_axis7/desc.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_13x6_i8_axis7/desc.json
new file mode 100644
index 000000000..927be76a5
--- /dev/null
+++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_13x6_i8_axis7/desc.json
@@ -0,0 +1,18 @@
+{
+ "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": 2,
+ "expected_failure": true,
+ "expected_failure_desc": "Axis larger than rank"
+} \ No newline at end of file
diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_13x6_i8_axis7/input-0.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_13x6_i8_axis7/input-0.json
new file mode 100644
index 000000000..99594e2a1
--- /dev/null
+++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_13x6_i8_axis7/input-0.json
@@ -0,0 +1,109 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ 127,
+ 71,
+ -46,
+ 120,
+ -1,
+ 0
+ ],
+ [
+ -17,
+ -92,
+ 111,
+ -125,
+ -84,
+ -70
+ ],
+ [
+ -57,
+ -95,
+ -124,
+ 45,
+ 120,
+ -97
+ ],
+ [
+ -53,
+ 1,
+ 109,
+ 49,
+ 68,
+ 20
+ ],
+ [
+ -22,
+ -77,
+ 93,
+ 77,
+ -122,
+ 55
+ ],
+ [
+ -107,
+ 61,
+ 83,
+ -95,
+ -17,
+ -97
+ ],
+ [
+ 17,
+ 109,
+ -108,
+ -27,
+ 121,
+ -51
+ ],
+ [
+ -95,
+ -3,
+ 2,
+ 41,
+ -48,
+ 116
+ ],
+ [
+ 5,
+ -55,
+ 117,
+ 108,
+ -1,
+ -122
+ ],
+ [
+ 24,
+ 14,
+ -91,
+ 34,
+ 87,
+ -101
+ ],
+ [
+ 57,
+ -93,
+ 63,
+ -21,
+ -127,
+ 119
+ ],
+ [
+ -86,
+ 24,
+ -82,
+ 110,
+ 61,
+ 77
+ ],
+ [
+ -18,
+ -9,
+ 34,
+ 72,
+ 88,
+ -124
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_13x6_i8_axis7/test.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_13x6_i8_axis7/test.json
new file mode 100644
index 000000000..1427ae281
--- /dev/null
+++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_13x6_i8_axis7/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: 7
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 13,
+ 6
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 13,
+ 6
+ ],
+ type: "INT8"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}