aboutsummaryrefslogtreecommitdiff
path: root/operators/ew_binary/mul/mul_36_i32_perm3_shift3
diff options
context:
space:
mode:
Diffstat (limited to 'operators/ew_binary/mul/mul_36_i32_perm3_shift3')
-rw-r--r--operators/ew_binary/mul/mul_36_i32_perm3_shift3/Conformance-result-0.json41
-rw-r--r--operators/ew_binary/mul/mul_36_i32_perm3_shift3/desc.json22
-rw-r--r--operators/ew_binary/mul/mul_36_i32_perm3_shift3/input-0.json41
-rw-r--r--operators/ew_binary/mul/mul_36_i32_perm3_shift3/input-1.json6
-rw-r--r--operators/ew_binary/mul/mul_36_i32_perm3_shift3/test.json59
5 files changed, 169 insertions, 0 deletions
diff --git a/operators/ew_binary/mul/mul_36_i32_perm3_shift3/Conformance-result-0.json b/operators/ew_binary/mul/mul_36_i32_perm3_shift3/Conformance-result-0.json
new file mode 100644
index 000000000..8a0201006
--- /dev/null
+++ b/operators/ew_binary/mul/mul_36_i32_perm3_shift3/Conformance-result-0.json
@@ -0,0 +1,41 @@
+{
+ "type": "int32",
+ "data": [
+ -26719037,
+ 271442723,
+ -585052599,
+ -539959224,
+ 1061876,
+ 603938481,
+ -123211586,
+ -70158988,
+ 447154149,
+ -170290524,
+ -433170354,
+ 500934060,
+ -283857947,
+ 457154696,
+ -316274265,
+ 102812895,
+ 627260968,
+ -592611801,
+ 424575945,
+ -122074554,
+ 404877898,
+ -550401007,
+ -302928081,
+ -386862367,
+ 86331994,
+ 41461661,
+ -170705092,
+ -361954339,
+ -441035027,
+ 612865029,
+ -207897429,
+ 496807774,
+ 269554134,
+ -418725928,
+ 317115523,
+ -377273964
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/mul/mul_36_i32_perm3_shift3/desc.json b/operators/ew_binary/mul/mul_36_i32_perm3_shift3/desc.json
new file mode 100644
index 000000000..be172ba86
--- /dev/null
+++ b/operators/ew_binary/mul/mul_36_i32_perm3_shift3/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/ew_binary/mul/mul_36_i32_perm3_shift3/input-0.json b/operators/ew_binary/mul/mul_36_i32_perm3_shift3/input-0.json
new file mode 100644
index 000000000..63becad83
--- /dev/null
+++ b/operators/ew_binary/mul/mul_36_i32_perm3_shift3/input-0.json
@@ -0,0 +1,41 @@
+{
+ "type": "int32",
+ "data": [
+ 11021,
+ -111964,
+ 241321,
+ 222721,
+ -438,
+ -249111,
+ 50822,
+ 28939,
+ -184441,
+ 70241,
+ 178673,
+ -206624,
+ 117085,
+ -188566,
+ 130456,
+ -42408,
+ -258731,
+ 244439,
+ -175128,
+ 50353,
+ -167003,
+ 227028,
+ 124951,
+ 159572,
+ -35610,
+ -17102,
+ 70412,
+ 149298,
+ 181917,
+ -252793,
+ 85753,
+ -204922,
+ -111185,
+ 172715,
+ -130803,
+ 155617
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/mul/mul_36_i32_perm3_shift3/input-1.json b/operators/ew_binary/mul/mul_36_i32_perm3_shift3/input-1.json
new file mode 100644
index 000000000..6133a29fb
--- /dev/null
+++ b/operators/ew_binary/mul/mul_36_i32_perm3_shift3/input-1.json
@@ -0,0 +1,6 @@
+{
+ "type": "int32",
+ "data": [
+ -19395
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/mul/mul_36_i32_perm3_shift3/test.json b/operators/ew_binary/mul/mul_36_i32_perm3_shift3/test.json
new file mode 100644
index 000000000..d79dee789
--- /dev/null
+++ b/operators/ew_binary/mul/mul_36_i32_perm3_shift3/test.json
@@ -0,0 +1,59 @@
+{
+ version: {
+ _major: 0,
+ _minor: 30,
+ _patch: 0,
+ _draft: false
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "MUL",
+ attribute_type: "MulAttribute",
+ attribute: {
+ shift: 3
+ },
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 36
+ ],
+ type: "INT32"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 1
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 36
+ ],
+ type: "INT32"
+ }
+ ],
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}