aboutsummaryrefslogtreecommitdiff
path: root/operators/tensor/matmul
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2023-01-16 15:17:52 +0000
committerJeremy Johnson <jeremy.johnson@arm.com>2023-01-16 16:40:57 +0000
commitb08fb3e856b7757403ff9aafc9487f9c0ad61fe7 (patch)
tree4b4737ff52e92c1c17922a972384930953a26a61 /operators/tensor/matmul
parent007a2c7c0743b002587cd5e7b4c6b6acbcaedff8 (diff)
downloadconformance_tests-b08fb3e856b7757403ff9aafc9487f9c0ad61fe7.tar.gz
Regen tests after control flow operator support
Includes removing 3 tests that are not needed anymore. Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I2c62d95a7b053e9016000d90125e00862f94200e
Diffstat (limited to 'operators/tensor/matmul')
-rw-r--r--operators/tensor/matmul/matmul_1x2x65538_i8_acci32/test.json95
-rw-r--r--operators/tensor/matmul/matmul_1x65532x1_i8_acci32/test.json95
-rw-r--r--operators/tensor/matmul/matmul_2000x1x1_i8_acci32/test.json95
-rw-r--r--operators/tensor/matmul/matmul_20x53x47_i8_acci32/test.json95
-rw-r--r--operators/tensor/matmul/matmul_2x12x10_i8_acci32/test.json95
-rw-r--r--operators/tensor/matmul/matmul_36x57x20_i16_acci48/test.json95
-rw-r--r--operators/tensor/matmul/matmul_7x13x2_i16_acci48/test.json95
-rw-r--r--operators/tensor/matmul/matmul_ERRORIF_InputZeroPointNotZero_12x12x11_f32_accf32/test.json95
-rw-r--r--operators/tensor/matmul/matmul_ERRORIF_WrongInputList_2x8x12_i16_acci48/test.json99
-rw-r--r--operators/tensor/matmul/matmul_ERRORIF_WrongInputType_11x6x2_i4_acci32/test.json95
-rw-r--r--operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_5x4x9_i16_acci48/test.json97
-rw-r--r--operators/tensor/matmul/matmul_ERRORIF_WrongOutputType_11x14x12_i16_accf16/test.json95
-rw-r--r--operators/tensor/matmul/matmul_ERRORIF_WrongRank_2x9x14x1x13_i16_acci48/test.json99
13 files changed, 655 insertions, 590 deletions
diff --git a/operators/tensor/matmul/matmul_1x2x65538_i8_acci32/test.json b/operators/tensor/matmul/matmul_1x2x65538_i8_acci32/test.json
index 3863b131f..3f8327b1a 100644
--- a/operators/tensor/matmul/matmul_1x2x65538_i8_acci32/test.json
+++ b/operators/tensor/matmul/matmul_1x2x65538_i8_acci32/test.json
@@ -5,18 +5,59 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "MATMUL",
- attribute_type: "MatMulAttribute",
- attribute: {
- a_zp: -44,
- b_zp: -71,
- accum_dtype: "INT32"
- },
+ name: "main",
+ operators: [
+ {
+ op: "MATMUL",
+ attribute_type: "MatMulAttribute",
+ attribute: {
+ a_zp: -44,
+ b_zp: -71,
+ accum_dtype: "INT32"
+ },
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 2,
+ 65538
+ ],
+ type: "INT8"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 1,
+ 65538,
+ 1
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 2,
+ 1
+ ],
+ type: "INT32"
+ }
+ ],
inputs: [
"input-0",
"input-1"
@@ -25,42 +66,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 2,
- 65538
- ],
- type: "INT8"
- },
- {
- name: "input-1",
- shape: [
- 1,
- 65538,
- 1
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 1,
- 2,
- 1
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0",
- "input-1"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/matmul/matmul_1x65532x1_i8_acci32/test.json b/operators/tensor/matmul/matmul_1x65532x1_i8_acci32/test.json
index a1d82d0f2..b82aae0ba 100644
--- a/operators/tensor/matmul/matmul_1x65532x1_i8_acci32/test.json
+++ b/operators/tensor/matmul/matmul_1x65532x1_i8_acci32/test.json
@@ -5,18 +5,59 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "MATMUL",
- attribute_type: "MatMulAttribute",
- attribute: {
- a_zp: -16,
- b_zp: -18,
- accum_dtype: "INT32"
- },
+ name: "main",
+ operators: [
+ {
+ op: "MATMUL",
+ attribute_type: "MatMulAttribute",
+ attribute: {
+ a_zp: -16,
+ b_zp: -18,
+ accum_dtype: "INT32"
+ },
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 65532,
+ 1
+ ],
+ type: "INT8"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 1,
+ 1,
+ 1
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 65532,
+ 1
+ ],
+ type: "INT32"
+ }
+ ],
inputs: [
"input-0",
"input-1"
@@ -25,42 +66,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 65532,
- 1
- ],
- type: "INT8"
- },
- {
- name: "input-1",
- shape: [
- 1,
- 1,
- 1
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 1,
- 65532,
- 1
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0",
- "input-1"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/matmul/matmul_2000x1x1_i8_acci32/test.json b/operators/tensor/matmul/matmul_2000x1x1_i8_acci32/test.json
index 25663edb3..6c7826981 100644
--- a/operators/tensor/matmul/matmul_2000x1x1_i8_acci32/test.json
+++ b/operators/tensor/matmul/matmul_2000x1x1_i8_acci32/test.json
@@ -5,18 +5,59 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "MATMUL",
- attribute_type: "MatMulAttribute",
- attribute: {
- a_zp: -44,
- b_zp: -69,
- accum_dtype: "INT32"
- },
+ name: "main",
+ operators: [
+ {
+ op: "MATMUL",
+ attribute_type: "MatMulAttribute",
+ attribute: {
+ a_zp: -44,
+ b_zp: -69,
+ accum_dtype: "INT32"
+ },
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 2000,
+ 1,
+ 1
+ ],
+ type: "INT8"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 2000,
+ 1,
+ 1
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 2000,
+ 1,
+ 1
+ ],
+ type: "INT32"
+ }
+ ],
inputs: [
"input-0",
"input-1"
@@ -25,42 +66,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 2000,
- 1,
- 1
- ],
- type: "INT8"
- },
- {
- name: "input-1",
- shape: [
- 2000,
- 1,
- 1
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 2000,
- 1,
- 1
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0",
- "input-1"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/matmul/matmul_20x53x47_i8_acci32/test.json b/operators/tensor/matmul/matmul_20x53x47_i8_acci32/test.json
index 230b81523..f052d4fc7 100644
--- a/operators/tensor/matmul/matmul_20x53x47_i8_acci32/test.json
+++ b/operators/tensor/matmul/matmul_20x53x47_i8_acci32/test.json
@@ -5,18 +5,59 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "MATMUL",
- attribute_type: "MatMulAttribute",
- attribute: {
- a_zp: -77,
- b_zp: -104,
- accum_dtype: "INT32"
- },
+ name: "main",
+ operators: [
+ {
+ op: "MATMUL",
+ attribute_type: "MatMulAttribute",
+ attribute: {
+ a_zp: -77,
+ b_zp: -104,
+ accum_dtype: "INT32"
+ },
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 20,
+ 53,
+ 47
+ ],
+ type: "INT8"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 20,
+ 47,
+ 37
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 20,
+ 53,
+ 37
+ ],
+ type: "INT32"
+ }
+ ],
inputs: [
"input-0",
"input-1"
@@ -25,42 +66,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 20,
- 53,
- 47
- ],
- type: "INT8"
- },
- {
- name: "input-1",
- shape: [
- 20,
- 47,
- 37
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 20,
- 53,
- 37
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0",
- "input-1"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/matmul/matmul_2x12x10_i8_acci32/test.json b/operators/tensor/matmul/matmul_2x12x10_i8_acci32/test.json
index 8c63fca12..fe12b1c67 100644
--- a/operators/tensor/matmul/matmul_2x12x10_i8_acci32/test.json
+++ b/operators/tensor/matmul/matmul_2x12x10_i8_acci32/test.json
@@ -5,18 +5,59 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "MATMUL",
- attribute_type: "MatMulAttribute",
- attribute: {
- a_zp: -77,
- b_zp: -104,
- accum_dtype: "INT32"
- },
+ name: "main",
+ operators: [
+ {
+ op: "MATMUL",
+ attribute_type: "MatMulAttribute",
+ attribute: {
+ a_zp: -77,
+ b_zp: -104,
+ accum_dtype: "INT32"
+ },
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 2,
+ 12,
+ 10
+ ],
+ type: "INT8"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 2,
+ 10,
+ 7
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 2,
+ 12,
+ 7
+ ],
+ type: "INT32"
+ }
+ ],
inputs: [
"input-0",
"input-1"
@@ -25,42 +66,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 2,
- 12,
- 10
- ],
- type: "INT8"
- },
- {
- name: "input-1",
- shape: [
- 2,
- 10,
- 7
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 2,
- 12,
- 7
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0",
- "input-1"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/matmul/matmul_36x57x20_i16_acci48/test.json b/operators/tensor/matmul/matmul_36x57x20_i16_acci48/test.json
index 5e1deb07c..a95ac1987 100644
--- a/operators/tensor/matmul/matmul_36x57x20_i16_acci48/test.json
+++ b/operators/tensor/matmul/matmul_36x57x20_i16_acci48/test.json
@@ -5,18 +5,59 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "MATMUL",
- attribute_type: "MatMulAttribute",
- attribute: {
- a_zp: 0,
- b_zp: 0,
- accum_dtype: "INT48"
- },
+ name: "main",
+ operators: [
+ {
+ op: "MATMUL",
+ attribute_type: "MatMulAttribute",
+ attribute: {
+ a_zp: 0,
+ b_zp: 0,
+ accum_dtype: "INT48"
+ },
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 36,
+ 57,
+ 20
+ ],
+ type: "INT16"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 36,
+ 20,
+ 49
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 36,
+ 57,
+ 49
+ ],
+ type: "INT48"
+ }
+ ],
inputs: [
"input-0",
"input-1"
@@ -25,42 +66,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 36,
- 57,
- 20
- ],
- type: "INT16"
- },
- {
- name: "input-1",
- shape: [
- 36,
- 20,
- 49
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 36,
- 57,
- 49
- ],
- type: "INT48"
- }
- ],
- inputs: [
- "input-0",
- "input-1"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/matmul/matmul_7x13x2_i16_acci48/test.json b/operators/tensor/matmul/matmul_7x13x2_i16_acci48/test.json
index 42a59cf59..293924cfb 100644
--- a/operators/tensor/matmul/matmul_7x13x2_i16_acci48/test.json
+++ b/operators/tensor/matmul/matmul_7x13x2_i16_acci48/test.json
@@ -5,18 +5,59 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "MATMUL",
- attribute_type: "MatMulAttribute",
- attribute: {
- a_zp: 0,
- b_zp: 0,
- accum_dtype: "INT48"
- },
+ name: "main",
+ operators: [
+ {
+ op: "MATMUL",
+ attribute_type: "MatMulAttribute",
+ attribute: {
+ a_zp: 0,
+ b_zp: 0,
+ accum_dtype: "INT48"
+ },
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 7,
+ 13,
+ 2
+ ],
+ type: "INT16"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 7,
+ 2,
+ 11
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 7,
+ 13,
+ 11
+ ],
+ type: "INT48"
+ }
+ ],
inputs: [
"input-0",
"input-1"
@@ -25,42 +66,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 7,
- 13,
- 2
- ],
- type: "INT16"
- },
- {
- name: "input-1",
- shape: [
- 7,
- 2,
- 11
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 7,
- 13,
- 11
- ],
- type: "INT48"
- }
- ],
- inputs: [
- "input-0",
- "input-1"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/matmul/matmul_ERRORIF_InputZeroPointNotZero_12x12x11_f32_accf32/test.json b/operators/tensor/matmul/matmul_ERRORIF_InputZeroPointNotZero_12x12x11_f32_accf32/test.json
index 14610ca9b..e8393e083 100644
--- a/operators/tensor/matmul/matmul_ERRORIF_InputZeroPointNotZero_12x12x11_f32_accf32/test.json
+++ b/operators/tensor/matmul/matmul_ERRORIF_InputZeroPointNotZero_12x12x11_f32_accf32/test.json
@@ -5,18 +5,59 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "MATMUL",
- attribute_type: "MatMulAttribute",
- attribute: {
- a_zp: 1,
- b_zp: 76,
- accum_dtype: "FP32"
- },
+ name: "main",
+ operators: [
+ {
+ op: "MATMUL",
+ attribute_type: "MatMulAttribute",
+ attribute: {
+ a_zp: 1,
+ b_zp: 76,
+ accum_dtype: "FP32"
+ },
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 12,
+ 12,
+ 11
+ ],
+ type: "FP32"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 12,
+ 11,
+ 12
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 12,
+ 12,
+ 12
+ ],
+ type: "FP32"
+ }
+ ],
inputs: [
"input-0",
"input-1"
@@ -25,42 +66,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 12,
- 12,
- 11
- ],
- type: "FP32"
- },
- {
- name: "input-1",
- shape: [
- 12,
- 11,
- 12
- ],
- type: "FP32"
- },
- {
- name: "result-0",
- shape: [
- 12,
- 12,
- 12
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0",
- "input-1"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/matmul/matmul_ERRORIF_WrongInputList_2x8x12_i16_acci48/test.json b/operators/tensor/matmul/matmul_ERRORIF_WrongInputList_2x8x12_i16_acci48/test.json
index ade1641c5..6a05f987f 100644
--- a/operators/tensor/matmul/matmul_ERRORIF_WrongInputList_2x8x12_i16_acci48/test.json
+++ b/operators/tensor/matmul/matmul_ERRORIF_WrongInputList_2x8x12_i16_acci48/test.json
@@ -5,63 +5,68 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "MATMUL",
- attribute_type: "MatMulAttribute",
- attribute: {
- a_zp: 0,
- b_zp: 0,
- accum_dtype: "INT48"
- },
+ name: "main",
+ operators: [
+ {
+ op: "MATMUL",
+ attribute_type: "MatMulAttribute",
+ attribute: {
+ a_zp: 0,
+ b_zp: 0,
+ accum_dtype: "INT48"
+ },
+ inputs: [
+ "input-0",
+ "input-1",
+ "eiDummyInput"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 2,
+ 8,
+ 12
+ ],
+ type: "INT16"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 2,
+ 12,
+ 3
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 2,
+ 8,
+ 3
+ ],
+ type: "INT48"
+ }
+ ],
inputs: [
"input-0",
- "input-1",
- "eiDummyInput"
+ "input-1"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 2,
- 8,
- 12
- ],
- type: "INT16"
- },
- {
- name: "input-1",
- shape: [
- 2,
- 12,
- 3
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 2,
- 8,
- 3
- ],
- type: "INT48"
- }
- ],
- inputs: [
- "input-0",
- "input-1"
- ],
- outputs: [
- "result-0"
]
}
]
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
index 941a83ebb..cd7a50a2b 100644
--- a/operators/tensor/matmul/matmul_ERRORIF_WrongInputType_11x6x2_i4_acci32/test.json
+++ b/operators/tensor/matmul/matmul_ERRORIF_WrongInputType_11x6x2_i4_acci32/test.json
@@ -5,18 +5,59 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "MATMUL",
- attribute_type: "MatMulAttribute",
- attribute: {
- a_zp: 0,
- b_zp: 0,
- accum_dtype: "INT32"
- },
+ 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"
@@ -25,42 +66,6 @@
"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"
]
}
]
diff --git a/operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_5x4x9_i16_acci48/test.json b/operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_5x4x9_i16_acci48/test.json
index 6b967a14e..d24bb5c0d 100644
--- a/operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_5x4x9_i16_acci48/test.json
+++ b/operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_5x4x9_i16_acci48/test.json
@@ -5,62 +5,67 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "MATMUL",
- attribute_type: "MatMulAttribute",
- attribute: {
- a_zp: 0,
- b_zp: 0,
- accum_dtype: "INT48"
- },
+ name: "main",
+ operators: [
+ {
+ op: "MATMUL",
+ attribute_type: "MatMulAttribute",
+ attribute: {
+ a_zp: 0,
+ b_zp: 0,
+ accum_dtype: "INT48"
+ },
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 5,
+ 4,
+ 9
+ ],
+ type: "INT16"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 5,
+ 9,
+ 11
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 5,
+ 4,
+ 11
+ ],
+ type: "INT48"
+ }
+ ],
inputs: [
"input-0",
"input-1"
],
outputs: [
-
+ "result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 5,
- 4,
- 9
- ],
- type: "INT16"
- },
- {
- name: "input-1",
- shape: [
- 5,
- 9,
- 11
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 5,
- 4,
- 11
- ],
- type: "INT48"
- }
- ],
- inputs: [
- "input-0",
- "input-1"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/matmul/matmul_ERRORIF_WrongOutputType_11x14x12_i16_accf16/test.json b/operators/tensor/matmul/matmul_ERRORIF_WrongOutputType_11x14x12_i16_accf16/test.json
index 270ed4260..105fbe23e 100644
--- a/operators/tensor/matmul/matmul_ERRORIF_WrongOutputType_11x14x12_i16_accf16/test.json
+++ b/operators/tensor/matmul/matmul_ERRORIF_WrongOutputType_11x14x12_i16_accf16/test.json
@@ -5,18 +5,59 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "MATMUL",
- attribute_type: "MatMulAttribute",
- attribute: {
- a_zp: 0,
- b_zp: 0,
- accum_dtype: "FP16"
- },
+ name: "main",
+ operators: [
+ {
+ op: "MATMUL",
+ attribute_type: "MatMulAttribute",
+ attribute: {
+ a_zp: 0,
+ b_zp: 0,
+ accum_dtype: "FP16"
+ },
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 11,
+ 14,
+ 12
+ ],
+ type: "INT16"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 11,
+ 12,
+ 6
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 11,
+ 14,
+ 6
+ ],
+ type: "INT4"
+ }
+ ],
inputs: [
"input-0",
"input-1"
@@ -25,42 +66,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 11,
- 14,
- 12
- ],
- type: "INT16"
- },
- {
- name: "input-1",
- shape: [
- 11,
- 12,
- 6
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 11,
- 14,
- 6
- ],
- type: "INT4"
- }
- ],
- inputs: [
- "input-0",
- "input-1"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/matmul/matmul_ERRORIF_WrongRank_2x9x14x1x13_i16_acci48/test.json b/operators/tensor/matmul/matmul_ERRORIF_WrongRank_2x9x14x1x13_i16_acci48/test.json
index 2c7c5d77f..a04b92865 100644
--- a/operators/tensor/matmul/matmul_ERRORIF_WrongRank_2x9x14x1x13_i16_acci48/test.json
+++ b/operators/tensor/matmul/matmul_ERRORIF_WrongRank_2x9x14x1x13_i16_acci48/test.json
@@ -5,18 +5,61 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "MATMUL",
- attribute_type: "MatMulAttribute",
- attribute: {
- a_zp: 0,
- b_zp: 0,
- accum_dtype: "INT48"
- },
+ name: "main",
+ operators: [
+ {
+ op: "MATMUL",
+ attribute_type: "MatMulAttribute",
+ attribute: {
+ a_zp: 0,
+ b_zp: 0,
+ accum_dtype: "INT48"
+ },
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 2,
+ 9,
+ 14,
+ 1,
+ 13
+ ],
+ type: "INT16"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 2,
+ 14,
+ 13
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 2,
+ 9,
+ 13
+ ],
+ type: "INT48"
+ }
+ ],
inputs: [
"input-0",
"input-1"
@@ -25,44 +68,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 2,
- 9,
- 14,
- 1,
- 13
- ],
- type: "INT16"
- },
- {
- name: "input-1",
- shape: [
- 2,
- 14,
- 13
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 2,
- 9,
- 13
- ],
- type: "INT48"
- }
- ],
- inputs: [
- "input-0",
- "input-1"
- ],
- outputs: [
- "result-0"
]
}
]