aboutsummaryrefslogtreecommitdiff
path: root/operators/reduction/reduce_all/reduce_all_3_b_axis0
diff options
context:
space:
mode:
Diffstat (limited to 'operators/reduction/reduce_all/reduce_all_3_b_axis0')
-rw-r--r--operators/reduction/reduce_all/reduce_all_3_b_axis0/Conformance-result-0.json6
-rw-r--r--operators/reduction/reduce_all/reduce_all_3_b_axis0/desc.json20
-rw-r--r--operators/reduction/reduce_all/reduce_all_3_b_axis0/input-0.json8
-rw-r--r--operators/reduction/reduce_all/reduce_all_3_b_axis0/test.json50
4 files changed, 84 insertions, 0 deletions
diff --git a/operators/reduction/reduce_all/reduce_all_3_b_axis0/Conformance-result-0.json b/operators/reduction/reduce_all/reduce_all_3_b_axis0/Conformance-result-0.json
new file mode 100644
index 000000000..fa86ea1ad
--- /dev/null
+++ b/operators/reduction/reduce_all/reduce_all_3_b_axis0/Conformance-result-0.json
@@ -0,0 +1,6 @@
+{
+ "type": "bool",
+ "data": [
+ true
+ ]
+} \ No newline at end of file
diff --git a/operators/reduction/reduce_all/reduce_all_3_b_axis0/desc.json b/operators/reduction/reduce_all/reduce_all_3_b_axis0/desc.json
new file mode 100644
index 000000000..3cd43b509
--- /dev/null
+++ b/operators/reduction/reduce_all/reduce_all_3_b_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_all/reduce_all_3_b_axis0/input-0.json b/operators/reduction/reduce_all/reduce_all_3_b_axis0/input-0.json
new file mode 100644
index 000000000..bb4646776
--- /dev/null
+++ b/operators/reduction/reduce_all/reduce_all_3_b_axis0/input-0.json
@@ -0,0 +1,8 @@
+{
+ "type": "bool",
+ "data": [
+ true,
+ true,
+ true
+ ]
+} \ No newline at end of file
diff --git a/operators/reduction/reduce_all/reduce_all_3_b_axis0/test.json b/operators/reduction/reduce_all/reduce_all_3_b_axis0/test.json
new file mode 100644
index 000000000..fdd497c9a
--- /dev/null
+++ b/operators/reduction/reduce_all/reduce_all_3_b_axis0/test.json
@@ -0,0 +1,50 @@
+{
+ version: {
+ _major: 0,
+ _minor: 30,
+ _patch: 0,
+ _draft: false
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "REDUCE_ALL",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 3
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1
+ ],
+ type: "BOOL"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}