aboutsummaryrefslogtreecommitdiff
path: root/operators/ew_binary/mul/mul_20_i8_perm0_shift0
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_20_i8_perm0_shift0
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_20_i8_perm0_shift0')
-rw-r--r--operators/ew_binary/mul/mul_20_i8_perm0_shift0/Conformance-result-0.json25
-rw-r--r--operators/ew_binary/mul/mul_20_i8_perm0_shift0/desc.json22
-rw-r--r--operators/ew_binary/mul/mul_20_i8_perm0_shift0/input-0.json25
-rw-r--r--operators/ew_binary/mul/mul_20_i8_perm0_shift0/input-1.json6
-rw-r--r--operators/ew_binary/mul/mul_20_i8_perm0_shift0/test.json59
5 files changed, 137 insertions, 0 deletions
diff --git a/operators/ew_binary/mul/mul_20_i8_perm0_shift0/Conformance-result-0.json b/operators/ew_binary/mul/mul_20_i8_perm0_shift0/Conformance-result-0.json
new file mode 100644
index 000000000..6a0ae7c11
--- /dev/null
+++ b/operators/ew_binary/mul/mul_20_i8_perm0_shift0/Conformance-result-0.json
@@ -0,0 +1,25 @@
+{
+ "type": "int32",
+ "data": [
+ -860,
+ -8170,
+ 4042,
+ -602,
+ -3784,
+ -6106,
+ 1290,
+ 3612,
+ 9546,
+ -1462,
+ -7568,
+ 7224,
+ 2752,
+ 4300,
+ -8944,
+ -4214,
+ 5762,
+ 7224,
+ -1548,
+ 6622
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/mul/mul_20_i8_perm0_shift0/desc.json b/operators/ew_binary/mul/mul_20_i8_perm0_shift0/desc.json
new file mode 100644
index 000000000..be172ba86
--- /dev/null
+++ b/operators/ew_binary/mul/mul_20_i8_perm0_shift0/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_20_i8_perm0_shift0/input-0.json b/operators/ew_binary/mul/mul_20_i8_perm0_shift0/input-0.json
new file mode 100644
index 000000000..2ef5bb0a5
--- /dev/null
+++ b/operators/ew_binary/mul/mul_20_i8_perm0_shift0/input-0.json
@@ -0,0 +1,25 @@
+{
+ "type": "int32",
+ "data": [
+ -10,
+ -95,
+ 47,
+ -7,
+ -44,
+ -71,
+ 15,
+ 42,
+ 111,
+ -17,
+ -88,
+ 84,
+ 32,
+ 50,
+ -104,
+ -49,
+ 67,
+ 84,
+ -18,
+ 77
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/mul/mul_20_i8_perm0_shift0/input-1.json b/operators/ew_binary/mul/mul_20_i8_perm0_shift0/input-1.json
new file mode 100644
index 000000000..b0b2fc8de
--- /dev/null
+++ b/operators/ew_binary/mul/mul_20_i8_perm0_shift0/input-1.json
@@ -0,0 +1,6 @@
+{
+ "type": "int32",
+ "data": [
+ 86
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/mul/mul_20_i8_perm0_shift0/test.json b/operators/ew_binary/mul/mul_20_i8_perm0_shift0/test.json
new file mode 100644
index 000000000..e9e926a98
--- /dev/null
+++ b/operators/ew_binary/mul/mul_20_i8_perm0_shift0/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: 0
+ },
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 20
+ ],
+ type: "INT8"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 1
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 20
+ ],
+ type: "INT32"
+ }
+ ],
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}