aboutsummaryrefslogtreecommitdiff
path: root/operators/ew_binary/mul/mul_36_i32_perm0_shift2
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_perm0_shift2
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_perm0_shift2')
-rw-r--r--operators/ew_binary/mul/mul_36_i32_perm0_shift2/Conformance-result-0.json41
-rw-r--r--operators/ew_binary/mul/mul_36_i32_perm0_shift2/desc.json22
-rw-r--r--operators/ew_binary/mul/mul_36_i32_perm0_shift2/input-0.json41
-rw-r--r--operators/ew_binary/mul/mul_36_i32_perm0_shift2/input-1.json6
-rw-r--r--operators/ew_binary/mul/mul_36_i32_perm0_shift2/test.json59
5 files changed, 169 insertions, 0 deletions
diff --git a/operators/ew_binary/mul/mul_36_i32_perm0_shift2/Conformance-result-0.json b/operators/ew_binary/mul/mul_36_i32_perm0_shift2/Conformance-result-0.json
new file mode 100644
index 000000000..e2e161dcd
--- /dev/null
+++ b/operators/ew_binary/mul/mul_36_i32_perm0_shift2/Conformance-result-0.json
@@ -0,0 +1,41 @@
+{
+ "type": "int32",
+ "data": [
+ -1060587376,
+ -272195536,
+ -161172894,
+ 1110658981,
+ 126437357,
+ -1225364901,
+ 1650973544,
+ -888299110,
+ 24878510,
+ -754088857,
+ -561103454,
+ 233344166,
+ 657445417,
+ -437444941,
+ 1236244334,
+ -288960349,
+ 1392685330,
+ -514885528,
+ -442373455,
+ 1427905854,
+ -884746909,
+ 289301150,
+ -985768339,
+ 1575079671,
+ 1101431125,
+ 20657814,
+ 1071296408,
+ 584618758,
+ -551836275,
+ 1221458792,
+ -610598318,
+ 1362760337,
+ 1116111805,
+ -301150556,
+ -1008431638,
+ 1131893536
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/mul/mul_36_i32_perm0_shift2/desc.json b/operators/ew_binary/mul/mul_36_i32_perm0_shift2/desc.json
new file mode 100644
index 000000000..be172ba86
--- /dev/null
+++ b/operators/ew_binary/mul/mul_36_i32_perm0_shift2/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_perm0_shift2/input-0.json b/operators/ew_binary/mul/mul_36_i32_perm0_shift2/input-0.json
new file mode 100644
index 000000000..4bb7f8781
--- /dev/null
+++ b/operators/ew_binary/mul/mul_36_i32_perm0_shift2/input-0.json
@@ -0,0 +1,41 @@
+{
+ "type": "int32",
+ "data": [
+ 80913,
+ 20766,
+ 12296,
+ -84733,
+ -9646,
+ 93484,
+ -125954,
+ 67769,
+ -1898,
+ 57530,
+ 42807,
+ -17802,
+ -50157,
+ 33373,
+ -94314,
+ 22045,
+ -106249,
+ 39281,
+ 33749,
+ -108936,
+ 67498,
+ -22071,
+ 75205,
+ -120164,
+ -84029,
+ -1576,
+ -81730,
+ -44601,
+ 42100,
+ -93186,
+ 46583,
+ -103966,
+ -85149,
+ 22975,
+ 76934,
+ -86353
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/mul/mul_36_i32_perm0_shift2/input-1.json b/operators/ew_binary/mul/mul_36_i32_perm0_shift2/input-1.json
new file mode 100644
index 000000000..98efaef64
--- /dev/null
+++ b/operators/ew_binary/mul/mul_36_i32_perm0_shift2/input-1.json
@@ -0,0 +1,6 @@
+{
+ "type": "int32",
+ "data": [
+ -52431
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/mul/mul_36_i32_perm0_shift2/test.json b/operators/ew_binary/mul/mul_36_i32_perm0_shift2/test.json
new file mode 100644
index 000000000..076fd8b2f
--- /dev/null
+++ b/operators/ew_binary/mul/mul_36_i32_perm0_shift2/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: 2
+ },
+ 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"
+ ]
+ }
+ ]
+}