aboutsummaryrefslogtreecommitdiff
path: root/operators/comparison/greater/greater_14_i32
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:06:03 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:06:03 +0100
commit6481ae51dce85dda44baa62d7fa8b82d5d6e0f92 (patch)
tree9d652f71454c7633ffb55ed393a115eff5c3b892 /operators/comparison/greater/greater_14_i32
parentdb1aa636f391b107575a789430cb0410911fa8cc (diff)
downloadconformance_tests-6481ae51dce85dda44baa62d7fa8b82d5d6e0f92.tar.gz
Updating GREATER tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I777b5b0d5174e3464739d01eea0e0dcdd7facadc
Diffstat (limited to 'operators/comparison/greater/greater_14_i32')
-rw-r--r--operators/comparison/greater/greater_14_i32/Conformance-result-0.json19
-rw-r--r--operators/comparison/greater/greater_14_i32/desc.json22
-rw-r--r--operators/comparison/greater/greater_14_i32/input-0.json19
-rw-r--r--operators/comparison/greater/greater_14_i32/input-1.json6
-rw-r--r--operators/comparison/greater/greater_14_i32/test.json56
5 files changed, 122 insertions, 0 deletions
diff --git a/operators/comparison/greater/greater_14_i32/Conformance-result-0.json b/operators/comparison/greater/greater_14_i32/Conformance-result-0.json
new file mode 100644
index 000000000..71f3767e2
--- /dev/null
+++ b/operators/comparison/greater/greater_14_i32/Conformance-result-0.json
@@ -0,0 +1,19 @@
+{
+ "type": "bool",
+ "data": [
+ true,
+ true,
+ true,
+ true,
+ true,
+ false,
+ false,
+ true,
+ false,
+ false,
+ false,
+ false,
+ true,
+ true
+ ]
+} \ No newline at end of file
diff --git a/operators/comparison/greater/greater_14_i32/desc.json b/operators/comparison/greater/greater_14_i32/desc.json
new file mode 100644
index 000000000..be172ba86
--- /dev/null
+++ b/operators/comparison/greater/greater_14_i32/desc.json
@@ -0,0 +1,22 @@
+{
+ "tosa_file": "test.json",
+ "ifm_name": [
+ "input-0",
+ "input-1"
+ ],
+ "ifm_file": [
+ "input-0.npy",
+ "input-1.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/comparison/greater/greater_14_i32/input-0.json b/operators/comparison/greater/greater_14_i32/input-0.json
new file mode 100644
index 000000000..57be5537c
--- /dev/null
+++ b/operators/comparison/greater/greater_14_i32/input-0.json
@@ -0,0 +1,19 @@
+{
+ "type": "int32",
+ "data": [
+ 2042782445,
+ 1012548721,
+ 1121586479,
+ 934057792,
+ 1228636835,
+ 56807699,
+ -1597239786,
+ 1459207534,
+ -213090775,
+ 1511465,
+ -554918261,
+ -1363438929,
+ 1832941670,
+ 1209323014
+ ]
+} \ No newline at end of file
diff --git a/operators/comparison/greater/greater_14_i32/input-1.json b/operators/comparison/greater/greater_14_i32/input-1.json
new file mode 100644
index 000000000..358d1166a
--- /dev/null
+++ b/operators/comparison/greater/greater_14_i32/input-1.json
@@ -0,0 +1,6 @@
+{
+ "type": "int32",
+ "data": [
+ 617895985
+ ]
+} \ No newline at end of file
diff --git a/operators/comparison/greater/greater_14_i32/test.json b/operators/comparison/greater/greater_14_i32/test.json
new file mode 100644
index 000000000..838475477
--- /dev/null
+++ b/operators/comparison/greater/greater_14_i32/test.json
@@ -0,0 +1,56 @@
+{
+ version: {
+ _major: 0,
+ _minor: 30,
+ _patch: 0,
+ _draft: false
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "GREATER",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 14
+ ],
+ type: "INT32"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 1
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 14
+ ],
+ type: "BOOL"
+ }
+ ],
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}