aboutsummaryrefslogtreecommitdiff
path: root/operators/tensor/matmul/matmul_ERRORIF_WrongInputType_11x6x2_i4_acci32
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-11-16 14:39:55 +0000
committerJeremy Johnson <jeremy.johnson@arm.com>2022-11-16 14:46:02 +0000
commit874bb4fe493b2958a21e9a84c22828e82d4ff167 (patch)
tree4e4a0e31a9ba5c912373ba3a0419c8c84b03688e /operators/tensor/matmul/matmul_ERRORIF_WrongInputType_11x6x2_i4_acci32
parent7596fd972b49fecfd1c0cc0a425a5d8c64e9c33c (diff)
downloadconformance_tests-874bb4fe493b2958a21e9a84c22828e82d4ff167.tar.gz
Updating conformance files for BF16 support
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: Iabe3a47a30eaea83f29b160ae2227e57ec22e96d
Diffstat (limited to 'operators/tensor/matmul/matmul_ERRORIF_WrongInputType_11x6x2_i4_acci32')
-rw-r--r--operators/tensor/matmul/matmul_ERRORIF_WrongInputType_11x6x2_i4_acci32/desc.json24
-rw-r--r--operators/tensor/matmul/matmul_ERRORIF_WrongInputType_11x6x2_i4_acci32/input-0.json291
-rw-r--r--operators/tensor/matmul/matmul_ERRORIF_WrongInputType_11x6x2_i4_acci32/input-1.json401
-rw-r--r--operators/tensor/matmul/matmul_ERRORIF_WrongInputType_11x6x2_i4_acci32/test.json67
4 files changed, 783 insertions, 0 deletions
diff --git a/operators/tensor/matmul/matmul_ERRORIF_WrongInputType_11x6x2_i4_acci32/desc.json b/operators/tensor/matmul/matmul_ERRORIF_WrongInputType_11x6x2_i4_acci32/desc.json
new file mode 100644
index 000000000..33c84b150
--- /dev/null
+++ b/operators/tensor/matmul/matmul_ERRORIF_WrongInputType_11x6x2_i4_acci32/desc.json
@@ -0,0 +1,24 @@
+{
+ "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": "Input data type not supported for this operator",
+ "profile": [
+ "tosa-bi",
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/matmul/matmul_ERRORIF_WrongInputType_11x6x2_i4_acci32/input-0.json b/operators/tensor/matmul/matmul_ERRORIF_WrongInputType_11x6x2_i4_acci32/input-0.json
new file mode 100644
index 000000000..d2d78e8d7
--- /dev/null
+++ b/operators/tensor/matmul/matmul_ERRORIF_WrongInputType_11x6x2_i4_acci32/input-0.json
@@ -0,0 +1,291 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ -4,
+ 0
+ ],
+ [
+ 6,
+ 2
+ ],
+ [
+ 3,
+ -1
+ ],
+ [
+ 1,
+ -2
+ ],
+ [
+ 3,
+ -7
+ ],
+ [
+ 0,
+ 6
+ ]
+ ],
+ [
+ [
+ -7,
+ -1
+ ],
+ [
+ 2,
+ -6
+ ],
+ [
+ -7,
+ -5
+ ],
+ [
+ -4,
+ 6
+ ],
+ [
+ -5,
+ 2
+ ],
+ [
+ -2,
+ 1
+ ]
+ ],
+ [
+ [
+ 6,
+ 5
+ ],
+ [
+ -6,
+ -6
+ ],
+ [
+ -2,
+ 5
+ ],
+ [
+ 4,
+ 2
+ ],
+ [
+ 5,
+ -5
+ ],
+ [
+ 4,
+ 7
+ ]
+ ],
+ [
+ [
+ 7,
+ 3
+ ],
+ [
+ 3,
+ -4
+ ],
+ [
+ 4,
+ -4
+ ],
+ [
+ -1,
+ -6
+ ],
+ [
+ -3,
+ -6
+ ],
+ [
+ -1,
+ -6
+ ]
+ ],
+ [
+ [
+ 4,
+ 2
+ ],
+ [
+ 2,
+ 3
+ ],
+ [
+ 4,
+ 3
+ ],
+ [
+ 2,
+ -5
+ ],
+ [
+ 3,
+ 0
+ ],
+ [
+ -5,
+ 0
+ ]
+ ],
+ [
+ [
+ -3,
+ -5
+ ],
+ [
+ 1,
+ 6
+ ],
+ [
+ -7,
+ -5
+ ],
+ [
+ 6,
+ 3
+ ],
+ [
+ -4,
+ -2
+ ],
+ [
+ -6,
+ 5
+ ]
+ ],
+ [
+ [
+ 2,
+ -4
+ ],
+ [
+ -5,
+ 3
+ ],
+ [
+ 1,
+ 4
+ ],
+ [
+ -4,
+ 7
+ ],
+ [
+ -5,
+ -5
+ ],
+ [
+ 4,
+ 1
+ ]
+ ],
+ [
+ [
+ -2,
+ 4
+ ],
+ [
+ 1,
+ -1
+ ],
+ [
+ -4,
+ 3
+ ],
+ [
+ 1,
+ 6
+ ],
+ [
+ -1,
+ -4
+ ],
+ [
+ -7,
+ -3
+ ]
+ ],
+ [
+ [
+ 3,
+ -3
+ ],
+ [
+ 1,
+ -4
+ ],
+ [
+ 6,
+ 6
+ ],
+ [
+ 5,
+ 3
+ ],
+ [
+ 1,
+ -7
+ ],
+ [
+ -7,
+ -1
+ ]
+ ],
+ [
+ [
+ 4,
+ -6
+ ],
+ [
+ 1,
+ 7
+ ],
+ [
+ 5,
+ 1
+ ],
+ [
+ 1,
+ -7
+ ],
+ [
+ -7,
+ -3
+ ],
+ [
+ 5,
+ -7
+ ]
+ ],
+ [
+ [
+ 4,
+ -4
+ ],
+ [
+ -6,
+ -6
+ ],
+ [
+ 3,
+ -7
+ ],
+ [
+ 0,
+ 7
+ ],
+ [
+ 1,
+ -2
+ ],
+ [
+ 6,
+ -6
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/matmul/matmul_ERRORIF_WrongInputType_11x6x2_i4_acci32/input-1.json b/operators/tensor/matmul/matmul_ERRORIF_WrongInputType_11x6x2_i4_acci32/input-1.json
new file mode 100644
index 000000000..370eda0c8
--- /dev/null
+++ b/operators/tensor/matmul/matmul_ERRORIF_WrongInputType_11x6x2_i4_acci32/input-1.json
@@ -0,0 +1,401 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ -4,
+ -5,
+ -7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 2,
+ -6,
+ 3,
+ -4,
+ -6,
+ -6,
+ -1,
+ -4,
+ -1,
+ 6,
+ 5,
+ 4,
+ 0
+ ],
+ [
+ -6,
+ -1,
+ -7,
+ -6,
+ -3,
+ 3,
+ 4,
+ 2,
+ -4,
+ 3,
+ 7,
+ 2,
+ 4,
+ 6,
+ 3
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/matmul/matmul_ERRORIF_WrongInputType_11x6x2_i4_acci32/test.json b/operators/tensor/matmul/matmul_ERRORIF_WrongInputType_11x6x2_i4_acci32/test.json
new file mode 100644
index 000000000..fc9c02c53
--- /dev/null
+++ b/operators/tensor/matmul/matmul_ERRORIF_WrongInputType_11x6x2_i4_acci32/test.json
@@ -0,0 +1,67 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "MATMUL",
+ attribute_type: "MatMulAttribute",
+ attribute: {
+ a_zp: 0,
+ b_zp: 0,
+ accum_dtype: "INT32"
+ },
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 11,
+ 6,
+ 2
+ ],
+ type: "INT4"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 11,
+ 2,
+ 15
+ ],
+ type: "INT4"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 11,
+ 6,
+ 15
+ ],
+ type: "INT32"
+ }
+ ],
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}