aboutsummaryrefslogtreecommitdiff
path: root/operators/reduction/reduce_max/reduce_max_ERRORIF_ShapeOfAxisNotOne_16x8_i16_axis0
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:07:05 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:07:05 +0100
commitd2f0a9657439fe7ad7c60208a9eacafdcb1af5be (patch)
tree67fdf1745bbe2b877f670434b8f06dde47864be5 /operators/reduction/reduce_max/reduce_max_ERRORIF_ShapeOfAxisNotOne_16x8_i16_axis0
parent7a2e44d339d7dbd83f3d95dc4c5e1d8f3a308cb0 (diff)
downloadconformance_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_ERRORIF_ShapeOfAxisNotOne_16x8_i16_axis0')
-rw-r--r--operators/reduction/reduce_max/reduce_max_ERRORIF_ShapeOfAxisNotOne_16x8_i16_axis0/desc.json18
-rw-r--r--operators/reduction/reduce_max/reduce_max_ERRORIF_ShapeOfAxisNotOne_16x8_i16_axis0/input-0.json165
-rw-r--r--operators/reduction/reduce_max/reduce_max_ERRORIF_ShapeOfAxisNotOne_16x8_i16_axis0/test.json52
3 files changed, 235 insertions, 0 deletions
diff --git a/operators/reduction/reduce_max/reduce_max_ERRORIF_ShapeOfAxisNotOne_16x8_i16_axis0/desc.json b/operators/reduction/reduce_max/reduce_max_ERRORIF_ShapeOfAxisNotOne_16x8_i16_axis0/desc.json
new file mode 100644
index 000000000..0d8c027cd
--- /dev/null
+++ b/operators/reduction/reduce_max/reduce_max_ERRORIF_ShapeOfAxisNotOne_16x8_i16_axis0/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": "shape[axis] is not equal to 1"
+} \ No newline at end of file
diff --git a/operators/reduction/reduce_max/reduce_max_ERRORIF_ShapeOfAxisNotOne_16x8_i16_axis0/input-0.json b/operators/reduction/reduce_max/reduce_max_ERRORIF_ShapeOfAxisNotOne_16x8_i16_axis0/input-0.json
new file mode 100644
index 000000000..c14e0017f
--- /dev/null
+++ b/operators/reduction/reduce_max/reduce_max_ERRORIF_ShapeOfAxisNotOne_16x8_i16_axis0/input-0.json
@@ -0,0 +1,165 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ 18738,
+ 13501,
+ -4445,
+ 12260,
+ -23134,
+ -5270,
+ 29162,
+ -20358
+ ],
+ [
+ 14388,
+ -12283,
+ -27685,
+ -23717,
+ 4906,
+ 24460,
+ -18458,
+ -7661
+ ],
+ [
+ -23960,
+ -27788,
+ -12040,
+ 11159,
+ -16608,
+ 18191,
+ 23646,
+ 23245
+ ],
+ [
+ 24410,
+ 26952,
+ 31495,
+ 12069,
+ 14803,
+ -25241,
+ -3499,
+ 20305
+ ],
+ [
+ -664,
+ -2854,
+ 17719,
+ 25895,
+ -23654,
+ -17811,
+ 697,
+ 18338
+ ],
+ [
+ -11107,
+ 27347,
+ 3581,
+ 11703,
+ -30315,
+ 29732,
+ -27104,
+ 2941
+ ],
+ [
+ 29004,
+ -27267,
+ 7306,
+ -14548,
+ -22203,
+ 7120,
+ 7951,
+ -23509
+ ],
+ [
+ -27965,
+ 656,
+ 2671,
+ -18720,
+ 25087,
+ -25582,
+ 19488,
+ -14889
+ ],
+ [
+ -29067,
+ 1118,
+ 6391,
+ 13845,
+ -32008,
+ 10074,
+ -7272,
+ 25119
+ ],
+ [
+ -14056,
+ -889,
+ -4861,
+ 1191,
+ 6968,
+ 25728,
+ -665,
+ 22278
+ ],
+ [
+ -172,
+ -8228,
+ 27315,
+ 21696,
+ 25336,
+ -21610,
+ 20272,
+ 22459
+ ],
+ [
+ -3604,
+ -9631,
+ 8803,
+ -20451,
+ 13074,
+ 17553,
+ -14882,
+ -15608
+ ],
+ [
+ -28119,
+ -24326,
+ -21049,
+ 12473,
+ -30674,
+ 16892,
+ 6371,
+ 3878
+ ],
+ [
+ -27150,
+ -19030,
+ -1826,
+ -2940,
+ -1075,
+ -3240,
+ 14313,
+ -20337
+ ],
+ [
+ 28013,
+ 5473,
+ -9492,
+ -26848,
+ 13703,
+ -13009,
+ 30265,
+ -328
+ ],
+ [
+ -14943,
+ 2701,
+ -27997,
+ 20931,
+ 27879,
+ 2336,
+ 1985,
+ -10699
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/reduction/reduce_max/reduce_max_ERRORIF_ShapeOfAxisNotOne_16x8_i16_axis0/test.json b/operators/reduction/reduce_max/reduce_max_ERRORIF_ShapeOfAxisNotOne_16x8_i16_axis0/test.json
new file mode 100644
index 000000000..f5ff54e82
--- /dev/null
+++ b/operators/reduction/reduce_max/reduce_max_ERRORIF_ShapeOfAxisNotOne_16x8_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: [
+ 16,
+ 8
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 16,
+ 8
+ ],
+ type: "INT16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}