aboutsummaryrefslogtreecommitdiff
path: root/operators/comparison/equal/equal_ERRORIF_WrongInputList_2_f16
diff options
context:
space:
mode:
Diffstat (limited to 'operators/comparison/equal/equal_ERRORIF_WrongInputList_2_f16')
-rw-r--r--operators/comparison/equal/equal_ERRORIF_WrongInputList_2_f16/desc.json23
-rw-r--r--operators/comparison/equal/equal_ERRORIF_WrongInputList_2_f16/input-0.json7
-rw-r--r--operators/comparison/equal/equal_ERRORIF_WrongInputList_2_f16/input-1.json6
-rw-r--r--operators/comparison/equal/equal_ERRORIF_WrongInputList_2_f16/test.json62
4 files changed, 98 insertions, 0 deletions
diff --git a/operators/comparison/equal/equal_ERRORIF_WrongInputList_2_f16/desc.json b/operators/comparison/equal/equal_ERRORIF_WrongInputList_2_f16/desc.json
new file mode 100644
index 000000000..3e33b7c32
--- /dev/null
+++ b/operators/comparison/equal/equal_ERRORIF_WrongInputList_2_f16/desc.json
@@ -0,0 +1,23 @@
+{
+ "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": 2,
+ "expected_failure": true,
+ "expected_failure_desc": "Op input list does not match expected input",
+ "profile": [
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/comparison/equal/equal_ERRORIF_WrongInputList_2_f16/input-0.json b/operators/comparison/equal/equal_ERRORIF_WrongInputList_2_f16/input-0.json
new file mode 100644
index 000000000..563d7b513
--- /dev/null
+++ b/operators/comparison/equal/equal_ERRORIF_WrongInputList_2_f16/input-0.json
@@ -0,0 +1,7 @@
+{
+ "type": "float16",
+ "data": [
+ 0.7646484375,
+ 0.08233642578125
+ ]
+} \ No newline at end of file
diff --git a/operators/comparison/equal/equal_ERRORIF_WrongInputList_2_f16/input-1.json b/operators/comparison/equal/equal_ERRORIF_WrongInputList_2_f16/input-1.json
new file mode 100644
index 000000000..6f6887d05
--- /dev/null
+++ b/operators/comparison/equal/equal_ERRORIF_WrongInputList_2_f16/input-1.json
@@ -0,0 +1,6 @@
+{
+ "type": "float16",
+ "data": [
+ 0.86376953125
+ ]
+} \ No newline at end of file
diff --git a/operators/comparison/equal/equal_ERRORIF_WrongInputList_2_f16/test.json b/operators/comparison/equal/equal_ERRORIF_WrongInputList_2_f16/test.json
new file mode 100644
index 000000000..006928a0a
--- /dev/null
+++ b/operators/comparison/equal/equal_ERRORIF_WrongInputList_2_f16/test.json
@@ -0,0 +1,62 @@
+{
+ version: {
+ _major: 0,
+ _minor: 51,
+ _patch: 0,
+ _draft: true
+ },
+ regions: [
+ {
+ name: "main",
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "EQUAL",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "eiDummyInput"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 2
+ ],
+ type: "FP16"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 1
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 2
+ ],
+ type: "BOOL"
+ }
+ ],
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+ }
+ ]
+}