aboutsummaryrefslogtreecommitdiff
path: root/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_1_f16_axis8
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2023-02-07 15:13:08 +0000
committerJeremy Johnson <jeremy.johnson@arm.com>2023-02-07 15:22:24 +0000
commit81e1634bb20b64da3647bd4c7e60e7f10f422272 (patch)
treeb5de0533bbfc0588987d3237adce848e14b39762 /operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_1_f16_axis8
parent1a93a54b3e0498fd5d57182098b953dca2e3b992 (diff)
downloadconformance_tests-81e1634bb20b64da3647bd4c7e60e7f10f422272.tar.gz
Regen various ERRORIF tests for tosa_mi after adjustment
NEGATE, TILE, REDUCE_MIN, REDUCE_MAX, RESIZE, SCATTER, GATHER Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I02a2a6591f82cf6975abc610c059912c97405c51
Diffstat (limited to 'operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_1_f16_axis8')
-rw-r--r--operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_1_f16_axis8/desc.json21
-rw-r--r--operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_1_f16_axis8/input-0.json6
-rw-r--r--operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_1_f16_axis8/test.json55
3 files changed, 82 insertions, 0 deletions
diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_1_f16_axis8/desc.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_1_f16_axis8/desc.json
new file mode 100644
index 000000000..d589cbf3f
--- /dev/null
+++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_1_f16_axis8/desc.json
@@ -0,0 +1,21 @@
+{
+ "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",
+ "profile": [
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_1_f16_axis8/input-0.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_1_f16_axis8/input-0.json
new file mode 100644
index 000000000..1831e4fd9
--- /dev/null
+++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_1_f16_axis8/input-0.json
@@ -0,0 +1,6 @@
+{
+ "type": "float16",
+ "data": [
+ 0.493896484375
+ ]
+} \ No newline at end of file
diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_1_f16_axis8/test.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_1_f16_axis8/test.json
new file mode 100644
index 000000000..87fa7b931
--- /dev/null
+++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_1_f16_axis8/test.json
@@ -0,0 +1,55 @@
+{
+ version: {
+ _major: 0,
+ _minor: 51,
+ _patch: 0,
+ _draft: true
+ },
+ regions: [
+ {
+ name: "main",
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "REDUCE_MIN",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 8
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1
+ ],
+ type: "FP16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+ }
+ ]
+}