aboutsummaryrefslogtreecommitdiff
path: root/operators/ew_binary/mul/mul_36_i32_perm1_shift22
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:06:44 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:06:44 +0100
commit79f9874824b35262af8939dad547e2aab4436812 (patch)
tree5729994f99466e39e2ba79cc5839a3caac0b017a /operators/ew_binary/mul/mul_36_i32_perm1_shift22
parent2fa774b4c58ffe51b052b97aa3a76e9915ba2682 (diff)
downloadconformance_tests-79f9874824b35262af8939dad547e2aab4436812.tar.gz
Updating MUL tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I04e942d9017bb45e04c8fe343f652fb7b6b21dd3
Diffstat (limited to 'operators/ew_binary/mul/mul_36_i32_perm1_shift22')
-rw-r--r--operators/ew_binary/mul/mul_36_i32_perm1_shift22/Conformance-result-0.json41
-rw-r--r--operators/ew_binary/mul/mul_36_i32_perm1_shift22/desc.json22
-rw-r--r--operators/ew_binary/mul/mul_36_i32_perm1_shift22/input-0.json41
-rw-r--r--operators/ew_binary/mul/mul_36_i32_perm1_shift22/input-1.json6
-rw-r--r--operators/ew_binary/mul/mul_36_i32_perm1_shift22/test.json59
5 files changed, 169 insertions, 0 deletions
diff --git a/operators/ew_binary/mul/mul_36_i32_perm1_shift22/Conformance-result-0.json b/operators/ew_binary/mul/mul_36_i32_perm1_shift22/Conformance-result-0.json
new file mode 100644
index 000000000..e6fd8e806
--- /dev/null
+++ b/operators/ew_binary/mul/mul_36_i32_perm1_shift22/Conformance-result-0.json
@@ -0,0 +1,41 @@
+{
+ "type": "int32",
+ "data": [
+ -271209376,
+ 649151184,
+ -975011837,
+ 788153846,
+ 85203620,
+ -715717175,
+ -393560245,
+ 107503810,
+ -366676718,
+ -778730664,
+ 330231520,
+ 342668173,
+ -758241980,
+ -435230977,
+ -509559005,
+ 317168101,
+ 458168413,
+ 451601196,
+ 872906631,
+ 534468746,
+ -356754631,
+ -780391482,
+ 228079578,
+ 827647156,
+ 945311907,
+ -536733830,
+ -524316594,
+ -920308383,
+ -713701721,
+ 109127868,
+ 93114182,
+ -256797513,
+ -378089829,
+ 656110034,
+ -79511688,
+ 613260076
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/mul/mul_36_i32_perm1_shift22/desc.json b/operators/ew_binary/mul/mul_36_i32_perm1_shift22/desc.json
new file mode 100644
index 000000000..be172ba86
--- /dev/null
+++ b/operators/ew_binary/mul/mul_36_i32_perm1_shift22/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_perm1_shift22/input-0.json b/operators/ew_binary/mul/mul_36_i32_perm1_shift22/input-0.json
new file mode 100644
index 000000000..57419f4d9
--- /dev/null
+++ b/operators/ew_binary/mul/mul_36_i32_perm1_shift22/input-0.json
@@ -0,0 +1,41 @@
+{
+ "type": "int32",
+ "data": [
+ -18296796,
+ 43794160,
+ -65777935,
+ 53171798,
+ 5748154,
+ -48284950,
+ -26551042,
+ 7252608,
+ -24737379,
+ -52536075,
+ 22278650,
+ 23117673,
+ -51153832,
+ -29362305,
+ -34376751,
+ 21397343,
+ 30909750,
+ 30466701,
+ 58889537,
+ 36057255,
+ -24067998,
+ -52648120,
+ 15387099,
+ 55836164,
+ 63774267,
+ -36210066,
+ -35372353,
+ -62087436,
+ -48148980,
+ 7362173,
+ 6281830,
+ -17324518,
+ -25507350,
+ 44263630,
+ -5364155,
+ 41372812
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/mul/mul_36_i32_perm1_shift22/input-1.json b/operators/ew_binary/mul/mul_36_i32_perm1_shift22/input-1.json
new file mode 100644
index 000000000..4eed365b2
--- /dev/null
+++ b/operators/ew_binary/mul/mul_36_i32_perm1_shift22/input-1.json
@@ -0,0 +1,6 @@
+{
+ "type": "int32",
+ "data": [
+ 62171244
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/mul/mul_36_i32_perm1_shift22/test.json b/operators/ew_binary/mul/mul_36_i32_perm1_shift22/test.json
new file mode 100644
index 000000000..cb09e007d
--- /dev/null
+++ b/operators/ew_binary/mul/mul_36_i32_perm1_shift22/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: 22
+ },
+ 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"
+ ]
+ }
+ ]
+}