aboutsummaryrefslogtreecommitdiff
path: root/operators/tensor/conv2d_1x1
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/conv2d_1x1
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/conv2d_1x1')
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad0001_dilat77/test.json227
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad0090_dilat22/test.json227
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad0900_dilat12/test.json227
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad0999_dilat77/test.json227
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad9009_dilat12/test.json227
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad9900_dilat77/test.json227
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad9990_dilat71/test.json227
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st12_pad0009_dilat21/test.json227
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st12_pad1010_dilat17/test.json227
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st12_pad9909_dilat21/test.json227
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st22_pad0009_dilat17/test.json227
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i8xi8_acci32_st11_pad0000_dilat11/test.json223
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_1x49x42x28_i16xi8_acci48_st21_pad0090_dilat21/test.json257
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_1x49x42x28_i16xi8_acci48_st81_pad0099_dilat22/test.json257
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_1x49x42x28_i8xi4_acci32_st11_pad0990_dilat11/test.json225
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_1x5x65536x1_i8xi4_acci32_st11_pad0011_dilat11/test.json199
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_1x5x65536x1_i8xi4_acci32_st11_pad1011_dilat11/test.json199
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_1x5x65536x1_i8xi4_acci32_st18_pad1101_dilat17/test.json199
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_1x5x65536x1_i8xi8_acci32_st11_pad0111_dilat11/test.json199
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_1x65535x4x1_i8xi4_acci32_st11_pad0110_dilat11/test.json199
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_1x65535x4x1_i8xi4_acci32_st81_pad1110_dilat71/test.json199
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_1x65535x4x1_i8xi8_acci32_st11_pad0001_dilat11/test.json199
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_1x65535x4x1_i8xi8_acci32_st11_pad1000_dilat11/test.json199
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x4x5x11_i8xi4_acci32_st11_pad0000_dilat11/test.json379
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeNonInteger_1x11x7x4_i8xi4_acci32_st22_pad1001_dilat12/test.json333
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_DilationSmallerOne_1x14x5x7_i8xi4_acci32_st11_pad0000_dilat-5-5/test.json339
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_dilat11/test.json317
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_StrideSmallerOne_1x12x5x10_i8xi4_acci32_st-4-4_pad0000_dilat11/test.json207
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x12x10x8_bf16xbf16_accf32_st11_pad0000_dilat11/test.json981
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_dilat11/test.json227
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputType_1x12x10x7_bxb_accb_st11_pad0000_dilat11/desc.json1
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputType_1x12x10x7_bxb_accb_st11_pad0000_dilat11/input-0.json210
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputType_1x12x10x7_bxb_accb_st11_pad0000_dilat11/test.json301
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongOutputList_1x12x6x15_i16xi8_acci48_st11_pad0000_dilat11/test.json485
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongOutputType_1x4x2x9_i16xi8_acci48_st11_pad0000_dilat11/test.json609
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongRank_1x11x3x14x8_i8xi8_acci32_st11_pad0000_dilat11/test.json731
36 files changed, 5171 insertions, 5000 deletions
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad0001_dilat77/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad0001_dilat77/test.json
index bd5a0c273..8b0c7a687 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad0001_dilat77/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad0001_dilat77/test.json
@@ -5,129 +5,134 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 0,
+ 0,
+ 1
+ ],
+ stride: [
+ 1,
+ 1
+ ],
+ dilation: [
+ 7,
+ 7
+ ],
+ input_zp: 0,
+ weight_zp: 32,
+ accum_dtype: "INT48"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 11,
+ 44,
+ 13
+ ],
+ type: "INT16"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 1,
+ 1,
+ 13
+ ],
+ type: "INT8",
+ data: [
+ 22,
+ 67,
+ 249,
+ 179,
+ 129,
+ 251,
+ 231,
+ 232,
+ 22,
+ 201,
+ 80,
+ 236,
+ 9
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT48",
+ data: [
+ 127,
+ 247,
+ 73,
+ 57,
+ 195,
+ 169
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 11,
+ 45,
+ 1
+ ],
+ type: "INT48"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 0,
- 0,
- 0,
- 1
- ],
- stride: [
- 1,
- 1
- ],
- dilation: [
- 7,
- 7
- ],
- input_zp: 0,
- weight_zp: 32,
- accum_dtype: "INT48"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 11,
- 44,
- 13
- ],
- type: "INT16"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 1,
- 1,
- 13
- ],
- type: "INT8",
- data: [
- 22,
- 67,
- 249,
- 179,
- 129,
- 251,
- 231,
- 232,
- 22,
- 201,
- 80,
- 236,
- 9
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT48",
- data: [
- 127,
- 247,
- 73,
- 57,
- 195,
- 169
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 11,
- 45,
- 1
- ],
- type: "INT48"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad0090_dilat22/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad0090_dilat22/test.json
index d238f7a91..abf970c2d 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad0090_dilat22/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad0090_dilat22/test.json
@@ -5,129 +5,134 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 0,
+ 9,
+ 0
+ ],
+ stride: [
+ 1,
+ 1
+ ],
+ dilation: [
+ 2,
+ 2
+ ],
+ input_zp: 0,
+ weight_zp: -28,
+ accum_dtype: "INT48"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 11,
+ 44,
+ 13
+ ],
+ type: "INT16"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 1,
+ 1,
+ 13
+ ],
+ type: "INT8",
+ data: [
+ 161,
+ 144,
+ 153,
+ 11,
+ 10,
+ 68,
+ 108,
+ 218,
+ 68,
+ 248,
+ 95,
+ 152,
+ 205
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT48",
+ data: [
+ 65,
+ 58,
+ 33,
+ 188,
+ 233,
+ 76
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 11,
+ 53,
+ 1
+ ],
+ type: "INT48"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 0,
- 0,
- 9,
- 0
- ],
- stride: [
- 1,
- 1
- ],
- dilation: [
- 2,
- 2
- ],
- input_zp: 0,
- weight_zp: -28,
- accum_dtype: "INT48"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 11,
- 44,
- 13
- ],
- type: "INT16"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 1,
- 1,
- 13
- ],
- type: "INT8",
- data: [
- 161,
- 144,
- 153,
- 11,
- 10,
- 68,
- 108,
- 218,
- 68,
- 248,
- 95,
- 152,
- 205
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT48",
- data: [
- 65,
- 58,
- 33,
- 188,
- 233,
- 76
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 11,
- 53,
- 1
- ],
- type: "INT48"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad0900_dilat12/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad0900_dilat12/test.json
index c351cff6a..0c6e3f3f9 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad0900_dilat12/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad0900_dilat12/test.json
@@ -5,129 +5,134 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 9,
+ 0,
+ 0
+ ],
+ stride: [
+ 1,
+ 1
+ ],
+ dilation: [
+ 1,
+ 2
+ ],
+ input_zp: 0,
+ weight_zp: 17,
+ accum_dtype: "INT48"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 11,
+ 44,
+ 13
+ ],
+ type: "INT16"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 1,
+ 1,
+ 13
+ ],
+ type: "INT8",
+ data: [
+ 210,
+ 206,
+ 2,
+ 225,
+ 5,
+ 230,
+ 221,
+ 219,
+ 137,
+ 189,
+ 195,
+ 25,
+ 226
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT48",
+ data: [
+ 50,
+ 244,
+ 70,
+ 151,
+ 225,
+ 120
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 20,
+ 44,
+ 1
+ ],
+ type: "INT48"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 0,
- 9,
- 0,
- 0
- ],
- stride: [
- 1,
- 1
- ],
- dilation: [
- 1,
- 2
- ],
- input_zp: 0,
- weight_zp: 17,
- accum_dtype: "INT48"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 11,
- 44,
- 13
- ],
- type: "INT16"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 1,
- 1,
- 13
- ],
- type: "INT8",
- data: [
- 210,
- 206,
- 2,
- 225,
- 5,
- 230,
- 221,
- 219,
- 137,
- 189,
- 195,
- 25,
- 226
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT48",
- data: [
- 50,
- 244,
- 70,
- 151,
- 225,
- 120
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 20,
- 44,
- 1
- ],
- type: "INT48"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad0999_dilat77/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad0999_dilat77/test.json
index 681c9aba6..27884966c 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad0999_dilat77/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad0999_dilat77/test.json
@@ -5,129 +5,134 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 9,
+ 9,
+ 9
+ ],
+ stride: [
+ 1,
+ 1
+ ],
+ dilation: [
+ 7,
+ 7
+ ],
+ input_zp: 0,
+ weight_zp: -19,
+ accum_dtype: "INT48"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 11,
+ 44,
+ 13
+ ],
+ type: "INT16"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 1,
+ 1,
+ 13
+ ],
+ type: "INT8",
+ data: [
+ 62,
+ 132,
+ 54,
+ 156,
+ 51,
+ 218,
+ 111,
+ 116,
+ 126,
+ 217,
+ 220,
+ 217,
+ 104
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT48",
+ data: [
+ 102,
+ 106,
+ 188,
+ 83,
+ 122,
+ 113
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 20,
+ 62,
+ 1
+ ],
+ type: "INT48"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 0,
- 9,
- 9,
- 9
- ],
- stride: [
- 1,
- 1
- ],
- dilation: [
- 7,
- 7
- ],
- input_zp: 0,
- weight_zp: -19,
- accum_dtype: "INT48"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 11,
- 44,
- 13
- ],
- type: "INT16"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 1,
- 1,
- 13
- ],
- type: "INT8",
- data: [
- 62,
- 132,
- 54,
- 156,
- 51,
- 218,
- 111,
- 116,
- 126,
- 217,
- 220,
- 217,
- 104
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT48",
- data: [
- 102,
- 106,
- 188,
- 83,
- 122,
- 113
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 20,
- 62,
- 1
- ],
- type: "INT48"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad9009_dilat12/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad9009_dilat12/test.json
index ca5cc835a..73ce3bbc9 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad9009_dilat12/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad9009_dilat12/test.json
@@ -5,129 +5,134 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 9,
+ 0,
+ 0,
+ 9
+ ],
+ stride: [
+ 1,
+ 1
+ ],
+ dilation: [
+ 1,
+ 2
+ ],
+ input_zp: 0,
+ weight_zp: 26,
+ accum_dtype: "INT48"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 11,
+ 44,
+ 13
+ ],
+ type: "INT16"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 1,
+ 1,
+ 13
+ ],
+ type: "INT8",
+ data: [
+ 21,
+ 204,
+ 99,
+ 221,
+ 238,
+ 255,
+ 252,
+ 99,
+ 11,
+ 86,
+ 47,
+ 231,
+ 96
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT48",
+ data: [
+ 76,
+ 48,
+ 131,
+ 212,
+ 77,
+ 153
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 20,
+ 53,
+ 1
+ ],
+ type: "INT48"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 9,
- 0,
- 0,
- 9
- ],
- stride: [
- 1,
- 1
- ],
- dilation: [
- 1,
- 2
- ],
- input_zp: 0,
- weight_zp: 26,
- accum_dtype: "INT48"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 11,
- 44,
- 13
- ],
- type: "INT16"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 1,
- 1,
- 13
- ],
- type: "INT8",
- data: [
- 21,
- 204,
- 99,
- 221,
- 238,
- 255,
- 252,
- 99,
- 11,
- 86,
- 47,
- 231,
- 96
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT48",
- data: [
- 76,
- 48,
- 131,
- 212,
- 77,
- 153
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 20,
- 53,
- 1
- ],
- type: "INT48"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad9900_dilat77/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad9900_dilat77/test.json
index 323f9932d..8d6aa2dee 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad9900_dilat77/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad9900_dilat77/test.json
@@ -5,129 +5,134 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 9,
+ 9,
+ 0,
+ 0
+ ],
+ stride: [
+ 1,
+ 1
+ ],
+ dilation: [
+ 7,
+ 7
+ ],
+ input_zp: 0,
+ weight_zp: -14,
+ accum_dtype: "INT48"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 11,
+ 44,
+ 13
+ ],
+ type: "INT16"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 1,
+ 1,
+ 13
+ ],
+ type: "INT8",
+ data: [
+ 102,
+ 187,
+ 173,
+ 109,
+ 236,
+ 245,
+ 48,
+ 41,
+ 30,
+ 80,
+ 99,
+ 215,
+ 109
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT48",
+ data: [
+ 10,
+ 193,
+ 109,
+ 188,
+ 236,
+ 195
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 29,
+ 44,
+ 1
+ ],
+ type: "INT48"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 9,
- 9,
- 0,
- 0
- ],
- stride: [
- 1,
- 1
- ],
- dilation: [
- 7,
- 7
- ],
- input_zp: 0,
- weight_zp: -14,
- accum_dtype: "INT48"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 11,
- 44,
- 13
- ],
- type: "INT16"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 1,
- 1,
- 13
- ],
- type: "INT8",
- data: [
- 102,
- 187,
- 173,
- 109,
- 236,
- 245,
- 48,
- 41,
- 30,
- 80,
- 99,
- 215,
- 109
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT48",
- data: [
- 10,
- 193,
- 109,
- 188,
- 236,
- 195
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 29,
- 44,
- 1
- ],
- type: "INT48"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad9990_dilat71/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad9990_dilat71/test.json
index 5cd6e2e1a..ba9949a21 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad9990_dilat71/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st11_pad9990_dilat71/test.json
@@ -5,129 +5,134 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 9,
+ 9,
+ 9,
+ 0
+ ],
+ stride: [
+ 1,
+ 1
+ ],
+ dilation: [
+ 7,
+ 1
+ ],
+ input_zp: 0,
+ weight_zp: 5,
+ accum_dtype: "INT48"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 11,
+ 44,
+ 13
+ ],
+ type: "INT16"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 1,
+ 1,
+ 13
+ ],
+ type: "INT8",
+ data: [
+ 32,
+ 130,
+ 24,
+ 118,
+ 99,
+ 129,
+ 19,
+ 125,
+ 42,
+ 133,
+ 171,
+ 42,
+ 56
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT48",
+ data: [
+ 204,
+ 223,
+ 217,
+ 119,
+ 65,
+ 24
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 29,
+ 53,
+ 1
+ ],
+ type: "INT48"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 9,
- 9,
- 9,
- 0
- ],
- stride: [
- 1,
- 1
- ],
- dilation: [
- 7,
- 1
- ],
- input_zp: 0,
- weight_zp: 5,
- accum_dtype: "INT48"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 11,
- 44,
- 13
- ],
- type: "INT16"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 1,
- 1,
- 13
- ],
- type: "INT8",
- data: [
- 32,
- 130,
- 24,
- 118,
- 99,
- 129,
- 19,
- 125,
- 42,
- 133,
- 171,
- 42,
- 56
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT48",
- data: [
- 204,
- 223,
- 217,
- 119,
- 65,
- 24
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 29,
- 53,
- 1
- ],
- type: "INT48"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st12_pad0009_dilat21/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st12_pad0009_dilat21/test.json
index 9fba263c8..a5d716e4b 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st12_pad0009_dilat21/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st12_pad0009_dilat21/test.json
@@ -5,129 +5,134 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 0,
+ 0,
+ 9
+ ],
+ stride: [
+ 1,
+ 2
+ ],
+ dilation: [
+ 2,
+ 1
+ ],
+ input_zp: 0,
+ weight_zp: 80,
+ accum_dtype: "INT48"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 11,
+ 44,
+ 13
+ ],
+ type: "INT16"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 1,
+ 1,
+ 13
+ ],
+ type: "INT8",
+ data: [
+ 205,
+ 59,
+ 171,
+ 197,
+ 132,
+ 228,
+ 191,
+ 15,
+ 158,
+ 3,
+ 104,
+ 158,
+ 103
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT48",
+ data: [
+ 236,
+ 54,
+ 120,
+ 171,
+ 225,
+ 86
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 11,
+ 27,
+ 1
+ ],
+ type: "INT48"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 0,
- 0,
- 0,
- 9
- ],
- stride: [
- 1,
- 2
- ],
- dilation: [
- 2,
- 1
- ],
- input_zp: 0,
- weight_zp: 80,
- accum_dtype: "INT48"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 11,
- 44,
- 13
- ],
- type: "INT16"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 1,
- 1,
- 13
- ],
- type: "INT8",
- data: [
- 205,
- 59,
- 171,
- 197,
- 132,
- 228,
- 191,
- 15,
- 158,
- 3,
- 104,
- 158,
- 103
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT48",
- data: [
- 236,
- 54,
- 120,
- 171,
- 225,
- 86
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 11,
- 27,
- 1
- ],
- type: "INT48"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st12_pad1010_dilat17/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st12_pad1010_dilat17/test.json
index aedb183c2..b7f50c2b5 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st12_pad1010_dilat17/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st12_pad1010_dilat17/test.json
@@ -5,129 +5,134 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 1,
+ 0,
+ 1,
+ 0
+ ],
+ stride: [
+ 1,
+ 2
+ ],
+ dilation: [
+ 1,
+ 7
+ ],
+ input_zp: 0,
+ weight_zp: 85,
+ accum_dtype: "INT48"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 11,
+ 44,
+ 13
+ ],
+ type: "INT16"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 1,
+ 1,
+ 13
+ ],
+ type: "INT8",
+ data: [
+ 180,
+ 140,
+ 154,
+ 93,
+ 157,
+ 171,
+ 63,
+ 137,
+ 159,
+ 22,
+ 184,
+ 164,
+ 237
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT48",
+ data: [
+ 2,
+ 49,
+ 61,
+ 160,
+ 22,
+ 2
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 12,
+ 23,
+ 1
+ ],
+ type: "INT48"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 1,
- 0,
- 1,
- 0
- ],
- stride: [
- 1,
- 2
- ],
- dilation: [
- 1,
- 7
- ],
- input_zp: 0,
- weight_zp: 85,
- accum_dtype: "INT48"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 11,
- 44,
- 13
- ],
- type: "INT16"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 1,
- 1,
- 13
- ],
- type: "INT8",
- data: [
- 180,
- 140,
- 154,
- 93,
- 157,
- 171,
- 63,
- 137,
- 159,
- 22,
- 184,
- 164,
- 237
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT48",
- data: [
- 2,
- 49,
- 61,
- 160,
- 22,
- 2
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 12,
- 23,
- 1
- ],
- type: "INT48"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st12_pad9909_dilat21/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st12_pad9909_dilat21/test.json
index bac40c043..f993331df 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st12_pad9909_dilat21/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st12_pad9909_dilat21/test.json
@@ -5,129 +5,134 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 9,
+ 9,
+ 0,
+ 9
+ ],
+ stride: [
+ 1,
+ 2
+ ],
+ dilation: [
+ 2,
+ 1
+ ],
+ input_zp: 0,
+ weight_zp: -104,
+ accum_dtype: "INT48"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 11,
+ 44,
+ 13
+ ],
+ type: "INT16"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 1,
+ 1,
+ 13
+ ],
+ type: "INT8",
+ data: [
+ 246,
+ 250,
+ 206,
+ 72,
+ 75,
+ 17,
+ 196,
+ 180,
+ 108,
+ 245,
+ 98,
+ 238,
+ 127
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT48",
+ data: [
+ 176,
+ 129,
+ 135,
+ 55,
+ 168,
+ 43
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 29,
+ 27,
+ 1
+ ],
+ type: "INT48"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 9,
- 9,
- 0,
- 9
- ],
- stride: [
- 1,
- 2
- ],
- dilation: [
- 2,
- 1
- ],
- input_zp: 0,
- weight_zp: -104,
- accum_dtype: "INT48"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 11,
- 44,
- 13
- ],
- type: "INT16"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 1,
- 1,
- 13
- ],
- type: "INT8",
- data: [
- 246,
- 250,
- 206,
- 72,
- 75,
- 17,
- 196,
- 180,
- 108,
- 245,
- 98,
- 238,
- 127
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT48",
- data: [
- 176,
- 129,
- 135,
- 55,
- 168,
- 43
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 29,
- 27,
- 1
- ],
- type: "INT48"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st22_pad0009_dilat17/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st22_pad0009_dilat17/test.json
index e2a02f25a..1564a58d5 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st22_pad0009_dilat17/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st22_pad0009_dilat17/test.json
@@ -5,129 +5,134 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 0,
+ 0,
+ 9
+ ],
+ stride: [
+ 2,
+ 2
+ ],
+ dilation: [
+ 1,
+ 7
+ ],
+ input_zp: 0,
+ weight_zp: -27,
+ accum_dtype: "INT48"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 11,
+ 44,
+ 13
+ ],
+ type: "INT16"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 1,
+ 1,
+ 13
+ ],
+ type: "INT8",
+ data: [
+ 12,
+ 142,
+ 56,
+ 184,
+ 150,
+ 75,
+ 23,
+ 92,
+ 192,
+ 228,
+ 230,
+ 233,
+ 131
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT48",
+ data: [
+ 237,
+ 168,
+ 78,
+ 91,
+ 250,
+ 58
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 6,
+ 27,
+ 1
+ ],
+ type: "INT48"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 0,
- 0,
- 0,
- 9
- ],
- stride: [
- 2,
- 2
- ],
- dilation: [
- 1,
- 7
- ],
- input_zp: 0,
- weight_zp: -27,
- accum_dtype: "INT48"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 11,
- 44,
- 13
- ],
- type: "INT16"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 1,
- 1,
- 13
- ],
- type: "INT8",
- data: [
- 12,
- 142,
- 56,
- 184,
- 150,
- 75,
- 23,
- 92,
- 192,
- 228,
- 230,
- 233,
- 131
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT48",
- data: [
- 237,
- 168,
- 78,
- 91,
- 250,
- 58
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 6,
- 27,
- 1
- ],
- type: "INT48"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i8xi8_acci32_st11_pad0000_dilat11/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i8xi8_acci32_st11_pad0000_dilat11/test.json
index ca0e48dea..6abf89324 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i8xi8_acci32_st11_pad0000_dilat11/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i8xi8_acci32_st11_pad0000_dilat11/test.json
@@ -5,127 +5,132 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 0,
+ 0,
+ 0
+ ],
+ stride: [
+ 1,
+ 1
+ ],
+ dilation: [
+ 1,
+ 1
+ ],
+ input_zp: 95,
+ weight_zp: -59,
+ accum_dtype: "INT32"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 11,
+ 44,
+ 13
+ ],
+ type: "INT8"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 1,
+ 1,
+ 13
+ ],
+ type: "INT8",
+ data: [
+ 41,
+ 203,
+ 79,
+ 238,
+ 208,
+ 120,
+ 29,
+ 255,
+ 216,
+ 76,
+ 209,
+ 113,
+ 241
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT32",
+ data: [
+ 155,
+ 125,
+ 231,
+ 56
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 11,
+ 44,
+ 1
+ ],
+ type: "INT32"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 0,
- 0,
- 0,
- 0
- ],
- stride: [
- 1,
- 1
- ],
- dilation: [
- 1,
- 1
- ],
- input_zp: 95,
- weight_zp: -59,
- accum_dtype: "INT32"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 11,
- 44,
- 13
- ],
- type: "INT8"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 1,
- 1,
- 13
- ],
- type: "INT8",
- data: [
- 41,
- 203,
- 79,
- 238,
- 208,
- 120,
- 29,
- 255,
- 216,
- 76,
- 209,
- 113,
- 241
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT32",
- data: [
- 155,
- 125,
- 231,
- 56
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 11,
- 44,
- 1
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_1x49x42x28_i16xi8_acci48_st21_pad0090_dilat21/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_1x49x42x28_i16xi8_acci48_st21_pad0090_dilat21/test.json
index 6553bd6f1..25212b087 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_1x49x42x28_i16xi8_acci48_st21_pad0090_dilat21/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_1x49x42x28_i16xi8_acci48_st21_pad0090_dilat21/test.json
@@ -5,144 +5,149 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 0,
+ 9,
+ 0
+ ],
+ stride: [
+ 2,
+ 1
+ ],
+ dilation: [
+ 2,
+ 1
+ ],
+ input_zp: 0,
+ weight_zp: 49,
+ accum_dtype: "INT48"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 49,
+ 42,
+ 28
+ ],
+ type: "INT16"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 1,
+ 1,
+ 28
+ ],
+ type: "INT8",
+ data: [
+ 18,
+ 39,
+ 203,
+ 243,
+ 21,
+ 82,
+ 198,
+ 14,
+ 135,
+ 243,
+ 59,
+ 101,
+ 147,
+ 160,
+ 223,
+ 175,
+ 152,
+ 113,
+ 49,
+ 58,
+ 22,
+ 253,
+ 129,
+ 18,
+ 40,
+ 240,
+ 0,
+ 177
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT48",
+ data: [
+ 132,
+ 159,
+ 217,
+ 112,
+ 61,
+ 193
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 25,
+ 51,
+ 1
+ ],
+ type: "INT48"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 0,
- 0,
- 9,
- 0
- ],
- stride: [
- 2,
- 1
- ],
- dilation: [
- 2,
- 1
- ],
- input_zp: 0,
- weight_zp: 49,
- accum_dtype: "INT48"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 49,
- 42,
- 28
- ],
- type: "INT16"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 1,
- 1,
- 28
- ],
- type: "INT8",
- data: [
- 18,
- 39,
- 203,
- 243,
- 21,
- 82,
- 198,
- 14,
- 135,
- 243,
- 59,
- 101,
- 147,
- 160,
- 223,
- 175,
- 152,
- 113,
- 49,
- 58,
- 22,
- 253,
- 129,
- 18,
- 40,
- 240,
- 0,
- 177
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT48",
- data: [
- 132,
- 159,
- 217,
- 112,
- 61,
- 193
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 25,
- 51,
- 1
- ],
- type: "INT48"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_1x49x42x28_i16xi8_acci48_st81_pad0099_dilat22/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_1x49x42x28_i16xi8_acci48_st81_pad0099_dilat22/test.json
index cb0a7c225..90fe55144 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_1x49x42x28_i16xi8_acci48_st81_pad0099_dilat22/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_1x49x42x28_i16xi8_acci48_st81_pad0099_dilat22/test.json
@@ -5,144 +5,149 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 0,
+ 9,
+ 9
+ ],
+ stride: [
+ 8,
+ 1
+ ],
+ dilation: [
+ 2,
+ 2
+ ],
+ input_zp: 0,
+ weight_zp: 0,
+ accum_dtype: "INT48"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 49,
+ 42,
+ 28
+ ],
+ type: "INT16"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 1,
+ 1,
+ 28
+ ],
+ type: "INT8",
+ data: [
+ 240,
+ 109,
+ 253,
+ 243,
+ 189,
+ 94,
+ 110,
+ 186,
+ 127,
+ 191,
+ 42,
+ 10,
+ 49,
+ 214,
+ 172,
+ 213,
+ 219,
+ 156,
+ 111,
+ 81,
+ 37,
+ 243,
+ 47,
+ 129,
+ 159,
+ 137,
+ 205,
+ 143
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT48",
+ data: [
+ 191,
+ 118,
+ 99,
+ 86,
+ 12,
+ 190
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 7,
+ 60,
+ 1
+ ],
+ type: "INT48"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 0,
- 0,
- 9,
- 9
- ],
- stride: [
- 8,
- 1
- ],
- dilation: [
- 2,
- 2
- ],
- input_zp: 0,
- weight_zp: 0,
- accum_dtype: "INT48"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 49,
- 42,
- 28
- ],
- type: "INT16"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 1,
- 1,
- 28
- ],
- type: "INT8",
- data: [
- 240,
- 109,
- 253,
- 243,
- 189,
- 94,
- 110,
- 186,
- 127,
- 191,
- 42,
- 10,
- 49,
- 214,
- 172,
- 213,
- 219,
- 156,
- 111,
- 81,
- 37,
- 243,
- 47,
- 129,
- 159,
- 137,
- 205,
- 143
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT48",
- data: [
- 191,
- 118,
- 99,
- 86,
- 12,
- 190
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 7,
- 60,
- 1
- ],
- type: "INT48"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_1x49x42x28_i8xi4_acci32_st11_pad0990_dilat11/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_1x49x42x28_i8xi4_acci32_st11_pad0990_dilat11/test.json
index c9a637b4f..75f57217d 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_1x49x42x28_i8xi4_acci32_st11_pad0990_dilat11/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_1x49x42x28_i8xi4_acci32_st11_pad0990_dilat11/test.json
@@ -5,128 +5,133 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 9,
+ 9,
+ 0
+ ],
+ stride: [
+ 1,
+ 1
+ ],
+ dilation: [
+ 1,
+ 1
+ ],
+ input_zp: 51,
+ weight_zp: 0,
+ accum_dtype: "INT32"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 49,
+ 42,
+ 28
+ ],
+ type: "INT8"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 1,
+ 1,
+ 28
+ ],
+ type: "INT4",
+ data: [
+ 208,
+ 156,
+ 25,
+ 2,
+ 62,
+ 61,
+ 89,
+ 204,
+ 233,
+ 1,
+ 233,
+ 75,
+ 186,
+ 206
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT32",
+ data: [
+ 199,
+ 88,
+ 26,
+ 120
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 58,
+ 51,
+ 1
+ ],
+ type: "INT32"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 0,
- 9,
- 9,
- 0
- ],
- stride: [
- 1,
- 1
- ],
- dilation: [
- 1,
- 1
- ],
- input_zp: 51,
- weight_zp: 0,
- accum_dtype: "INT32"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 49,
- 42,
- 28
- ],
- type: "INT8"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 1,
- 1,
- 28
- ],
- type: "INT4",
- data: [
- 208,
- 156,
- 25,
- 2,
- 62,
- 61,
- 89,
- 204,
- 233,
- 1,
- 233,
- 75,
- 186,
- 206
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT32",
- data: [
- 199,
- 88,
- 26,
- 120
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 58,
- 51,
- 1
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_1x5x65536x1_i8xi4_acci32_st11_pad0011_dilat11/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_1x5x65536x1_i8xi4_acci32_st11_pad0011_dilat11/test.json
index 8f84fbe70..37a454bed 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_1x5x65536x1_i8xi4_acci32_st11_pad0011_dilat11/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_1x5x65536x1_i8xi4_acci32_st11_pad0011_dilat11/test.json
@@ -5,115 +5,120 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 0,
+ 1,
+ 1
+ ],
+ stride: [
+ 1,
+ 1
+ ],
+ dilation: [
+ 1,
+ 1
+ ],
+ input_zp: -30,
+ weight_zp: 0,
+ accum_dtype: "INT32"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 5,
+ 65536,
+ 1
+ ],
+ type: "INT8"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 1,
+ 1,
+ 1
+ ],
+ type: "INT4",
+ data: [
+ 14
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT32",
+ data: [
+ 85,
+ 147,
+ 99,
+ 195
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 5,
+ 65538,
+ 1
+ ],
+ type: "INT32"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 0,
- 0,
- 1,
- 1
- ],
- stride: [
- 1,
- 1
- ],
- dilation: [
- 1,
- 1
- ],
- input_zp: -30,
- weight_zp: 0,
- accum_dtype: "INT32"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 5,
- 65536,
- 1
- ],
- type: "INT8"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 1,
- 1,
- 1
- ],
- type: "INT4",
- data: [
- 14
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT32",
- data: [
- 85,
- 147,
- 99,
- 195
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 5,
- 65538,
- 1
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_1x5x65536x1_i8xi4_acci32_st11_pad1011_dilat11/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_1x5x65536x1_i8xi4_acci32_st11_pad1011_dilat11/test.json
index 3dcd1ca39..8bf6d7ede 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_1x5x65536x1_i8xi4_acci32_st11_pad1011_dilat11/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_1x5x65536x1_i8xi4_acci32_st11_pad1011_dilat11/test.json
@@ -5,115 +5,120 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 1,
+ 0,
+ 1,
+ 1
+ ],
+ stride: [
+ 1,
+ 1
+ ],
+ dilation: [
+ 1,
+ 1
+ ],
+ input_zp: -43,
+ weight_zp: 0,
+ accum_dtype: "INT32"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 5,
+ 65536,
+ 1
+ ],
+ type: "INT8"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 1,
+ 1,
+ 1
+ ],
+ type: "INT4",
+ data: [
+ 1
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT32",
+ data: [
+ 53,
+ 247,
+ 177,
+ 220
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 6,
+ 65538,
+ 1
+ ],
+ type: "INT32"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 1,
- 0,
- 1,
- 1
- ],
- stride: [
- 1,
- 1
- ],
- dilation: [
- 1,
- 1
- ],
- input_zp: -43,
- weight_zp: 0,
- accum_dtype: "INT32"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 5,
- 65536,
- 1
- ],
- type: "INT8"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 1,
- 1,
- 1
- ],
- type: "INT4",
- data: [
- 1
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT32",
- data: [
- 53,
- 247,
- 177,
- 220
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 6,
- 65538,
- 1
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_1x5x65536x1_i8xi4_acci32_st18_pad1101_dilat17/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_1x5x65536x1_i8xi4_acci32_st18_pad1101_dilat17/test.json
index 0ddba32dc..8acdf3ce9 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_1x5x65536x1_i8xi4_acci32_st18_pad1101_dilat17/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_1x5x65536x1_i8xi4_acci32_st18_pad1101_dilat17/test.json
@@ -5,115 +5,120 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 1,
+ 1,
+ 0,
+ 1
+ ],
+ stride: [
+ 1,
+ 8
+ ],
+ dilation: [
+ 1,
+ 7
+ ],
+ input_zp: -36,
+ weight_zp: 0,
+ accum_dtype: "INT32"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 5,
+ 65536,
+ 1
+ ],
+ type: "INT8"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 1,
+ 1,
+ 1
+ ],
+ type: "INT4",
+ data: [
+ 1
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT32",
+ data: [
+ 93,
+ 229,
+ 158,
+ 161
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 7,
+ 8193,
+ 1
+ ],
+ type: "INT32"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 1,
- 1,
- 0,
- 1
- ],
- stride: [
- 1,
- 8
- ],
- dilation: [
- 1,
- 7
- ],
- input_zp: -36,
- weight_zp: 0,
- accum_dtype: "INT32"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 5,
- 65536,
- 1
- ],
- type: "INT8"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 1,
- 1,
- 1
- ],
- type: "INT4",
- data: [
- 1
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT32",
- data: [
- 93,
- 229,
- 158,
- 161
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 7,
- 8193,
- 1
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_1x5x65536x1_i8xi8_acci32_st11_pad0111_dilat11/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_1x5x65536x1_i8xi8_acci32_st11_pad0111_dilat11/test.json
index c6b243219..6ce80032e 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_1x5x65536x1_i8xi8_acci32_st11_pad0111_dilat11/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_1x5x65536x1_i8xi8_acci32_st11_pad0111_dilat11/test.json
@@ -5,115 +5,120 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 1,
+ 1,
+ 1
+ ],
+ stride: [
+ 1,
+ 1
+ ],
+ dilation: [
+ 1,
+ 1
+ ],
+ input_zp: 38,
+ weight_zp: -61,
+ accum_dtype: "INT32"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 5,
+ 65536,
+ 1
+ ],
+ type: "INT8"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 1,
+ 1,
+ 1
+ ],
+ type: "INT8",
+ data: [
+ 75
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT32",
+ data: [
+ 194,
+ 194,
+ 50,
+ 249
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 6,
+ 65538,
+ 1
+ ],
+ type: "INT32"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 0,
- 1,
- 1,
- 1
- ],
- stride: [
- 1,
- 1
- ],
- dilation: [
- 1,
- 1
- ],
- input_zp: 38,
- weight_zp: -61,
- accum_dtype: "INT32"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 5,
- 65536,
- 1
- ],
- type: "INT8"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 1,
- 1,
- 1
- ],
- type: "INT8",
- data: [
- 75
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT32",
- data: [
- 194,
- 194,
- 50,
- 249
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 6,
- 65538,
- 1
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_1x65535x4x1_i8xi4_acci32_st11_pad0110_dilat11/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_1x65535x4x1_i8xi4_acci32_st11_pad0110_dilat11/test.json
index c29ca8a12..565d22139 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_1x65535x4x1_i8xi4_acci32_st11_pad0110_dilat11/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_1x65535x4x1_i8xi4_acci32_st11_pad0110_dilat11/test.json
@@ -5,115 +5,120 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 1,
+ 1,
+ 0
+ ],
+ stride: [
+ 1,
+ 1
+ ],
+ dilation: [
+ 1,
+ 1
+ ],
+ input_zp: -52,
+ weight_zp: 0,
+ accum_dtype: "INT32"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 65535,
+ 4,
+ 1
+ ],
+ type: "INT8"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 1,
+ 1,
+ 1
+ ],
+ type: "INT4",
+ data: [
+ 12
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT32",
+ data: [
+ 75,
+ 13,
+ 177,
+ 29
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 65536,
+ 5,
+ 1
+ ],
+ type: "INT32"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 0,
- 1,
- 1,
- 0
- ],
- stride: [
- 1,
- 1
- ],
- dilation: [
- 1,
- 1
- ],
- input_zp: -52,
- weight_zp: 0,
- accum_dtype: "INT32"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 65535,
- 4,
- 1
- ],
- type: "INT8"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 1,
- 1,
- 1
- ],
- type: "INT4",
- data: [
- 12
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT32",
- data: [
- 75,
- 13,
- 177,
- 29
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 65536,
- 5,
- 1
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_1x65535x4x1_i8xi4_acci32_st81_pad1110_dilat71/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_1x65535x4x1_i8xi4_acci32_st81_pad1110_dilat71/test.json
index 3bf3e6378..d389026a5 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_1x65535x4x1_i8xi4_acci32_st81_pad1110_dilat71/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_1x65535x4x1_i8xi4_acci32_st81_pad1110_dilat71/test.json
@@ -5,115 +5,120 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 1,
+ 1,
+ 1,
+ 0
+ ],
+ stride: [
+ 8,
+ 1
+ ],
+ dilation: [
+ 7,
+ 1
+ ],
+ input_zp: -3,
+ weight_zp: 0,
+ accum_dtype: "INT32"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 65535,
+ 4,
+ 1
+ ],
+ type: "INT8"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 1,
+ 1,
+ 1
+ ],
+ type: "INT4",
+ data: [
+ 13
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT32",
+ data: [
+ 42,
+ 235,
+ 231,
+ 49
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 8193,
+ 5,
+ 1
+ ],
+ type: "INT32"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 1,
- 1,
- 1,
- 0
- ],
- stride: [
- 8,
- 1
- ],
- dilation: [
- 7,
- 1
- ],
- input_zp: -3,
- weight_zp: 0,
- accum_dtype: "INT32"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 65535,
- 4,
- 1
- ],
- type: "INT8"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 1,
- 1,
- 1
- ],
- type: "INT4",
- data: [
- 13
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT32",
- data: [
- 42,
- 235,
- 231,
- 49
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 8193,
- 5,
- 1
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_1x65535x4x1_i8xi8_acci32_st11_pad0001_dilat11/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_1x65535x4x1_i8xi8_acci32_st11_pad0001_dilat11/test.json
index c0bc82e66..998fc48da 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_1x65535x4x1_i8xi8_acci32_st11_pad0001_dilat11/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_1x65535x4x1_i8xi8_acci32_st11_pad0001_dilat11/test.json
@@ -5,115 +5,120 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 0,
+ 0,
+ 1
+ ],
+ stride: [
+ 1,
+ 1
+ ],
+ dilation: [
+ 1,
+ 1
+ ],
+ input_zp: -37,
+ weight_zp: 62,
+ accum_dtype: "INT32"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 65535,
+ 4,
+ 1
+ ],
+ type: "INT8"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 1,
+ 1,
+ 1
+ ],
+ type: "INT8",
+ data: [
+ 7
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT32",
+ data: [
+ 193,
+ 37,
+ 115,
+ 105
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 65535,
+ 5,
+ 1
+ ],
+ type: "INT32"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 0,
- 0,
- 0,
- 1
- ],
- stride: [
- 1,
- 1
- ],
- dilation: [
- 1,
- 1
- ],
- input_zp: -37,
- weight_zp: 62,
- accum_dtype: "INT32"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 65535,
- 4,
- 1
- ],
- type: "INT8"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 1,
- 1,
- 1
- ],
- type: "INT8",
- data: [
- 7
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT32",
- data: [
- 193,
- 37,
- 115,
- 105
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 65535,
- 5,
- 1
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_1x65535x4x1_i8xi8_acci32_st11_pad1000_dilat11/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_1x65535x4x1_i8xi8_acci32_st11_pad1000_dilat11/test.json
index 95286c2e8..0393714e1 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_1x65535x4x1_i8xi8_acci32_st11_pad1000_dilat11/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_1x65535x4x1_i8xi8_acci32_st11_pad1000_dilat11/test.json
@@ -5,115 +5,120 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 1,
+ 0,
+ 0,
+ 0
+ ],
+ stride: [
+ 1,
+ 1
+ ],
+ dilation: [
+ 1,
+ 1
+ ],
+ input_zp: -127,
+ weight_zp: -41,
+ accum_dtype: "INT32"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 65535,
+ 4,
+ 1
+ ],
+ type: "INT8"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 1,
+ 1,
+ 1
+ ],
+ type: "INT8",
+ data: [
+ 35
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT32",
+ data: [
+ 13,
+ 26,
+ 205,
+ 131
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 65536,
+ 4,
+ 1
+ ],
+ type: "INT32"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 1,
- 0,
- 0,
- 0
- ],
- stride: [
- 1,
- 1
- ],
- dilation: [
- 1,
- 1
- ],
- input_zp: -127,
- weight_zp: -41,
- accum_dtype: "INT32"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 65535,
- 4,
- 1
- ],
- type: "INT8"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 1,
- 1,
- 1
- ],
- type: "INT8",
- data: [
- 35
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT32",
- data: [
- 13,
- 26,
- 205,
- 131
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 65536,
- 4,
- 1
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x4x5x11_i8xi4_acci32_st11_pad0000_dilat11/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x4x5x11_i8xi4_acci32_st11_pad0000_dilat11/test.json
index 3932f748a..52443de0f 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x4x5x11_i8xi4_acci32_st11_pad0000_dilat11/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x4x5x11_i8xi4_acci32_st11_pad0000_dilat11/test.json
@@ -5,205 +5,210 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 0,
+ 0,
+ 0
+ ],
+ stride: [
+ 1,
+ 1
+ ],
+ dilation: [
+ 1,
+ 1
+ ],
+ input_zp: 11,
+ weight_zp: 0,
+ accum_dtype: "INT32"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 4,
+ 5,
+ 11
+ ],
+ type: "INT8"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 10,
+ 1,
+ 1,
+ 11
+ ],
+ type: "INT4",
+ data: [
+ 145,
+ 70,
+ 18,
+ 243,
+ 199,
+ 69,
+ 165,
+ 47,
+ 50,
+ 194,
+ 5,
+ 7,
+ 17,
+ 102,
+ 17,
+ 169,
+ 228,
+ 47,
+ 220,
+ 73,
+ 176,
+ 177,
+ 196,
+ 109,
+ 52,
+ 2,
+ 219,
+ 103,
+ 99,
+ 229,
+ 67,
+ 107,
+ 208,
+ 208,
+ 29,
+ 247,
+ 76,
+ 29,
+ 204,
+ 236,
+ 55,
+ 147,
+ 233,
+ 150,
+ 84,
+ 173,
+ 171,
+ 69,
+ 163,
+ 55,
+ 229,
+ 91,
+ 185,
+ 171,
+ 193
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 10
+ ],
+ type: "INT32",
+ data: [
+ 5,
+ 11,
+ 83,
+ 119,
+ 209,
+ 102,
+ 160,
+ 110,
+ 243,
+ 148,
+ 30,
+ 171,
+ 168,
+ 69,
+ 65,
+ 84,
+ 11,
+ 173,
+ 1,
+ 138,
+ 99,
+ 91,
+ 41,
+ 201,
+ 126,
+ 124,
+ 237,
+ 40,
+ 119,
+ 229,
+ 195,
+ 180,
+ 36,
+ 234,
+ 247,
+ 147,
+ 59,
+ 202,
+ 38,
+ 168
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 4,
+ 6,
+ 10
+ ],
+ type: "INT32"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 0,
- 0,
- 0,
- 0
- ],
- stride: [
- 1,
- 1
- ],
- dilation: [
- 1,
- 1
- ],
- input_zp: 11,
- weight_zp: 0,
- accum_dtype: "INT32"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 4,
- 5,
- 11
- ],
- type: "INT8"
- },
- {
- name: "const-1",
- shape: [
- 10,
- 1,
- 1,
- 11
- ],
- type: "INT4",
- data: [
- 145,
- 70,
- 18,
- 243,
- 199,
- 69,
- 165,
- 47,
- 50,
- 194,
- 5,
- 7,
- 17,
- 102,
- 17,
- 169,
- 228,
- 47,
- 220,
- 73,
- 176,
- 177,
- 196,
- 109,
- 52,
- 2,
- 219,
- 103,
- 99,
- 229,
- 67,
- 107,
- 208,
- 208,
- 29,
- 247,
- 76,
- 29,
- 204,
- 236,
- 55,
- 147,
- 233,
- 150,
- 84,
- 173,
- 171,
- 69,
- 163,
- 55,
- 229,
- 91,
- 185,
- 171,
- 193
- ]
- },
- {
- name: "const-2",
- shape: [
- 10
- ],
- type: "INT32",
- data: [
- 5,
- 11,
- 83,
- 119,
- 209,
- 102,
- 160,
- 110,
- 243,
- 148,
- 30,
- 171,
- 168,
- 69,
- 65,
- 84,
- 11,
- 173,
- 1,
- 138,
- 99,
- 91,
- 41,
- 201,
- 126,
- 124,
- 237,
- 40,
- 119,
- 229,
- 195,
- 180,
- 36,
- 234,
- 247,
- 147,
- 59,
- 202,
- 38,
- 168
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 4,
- 6,
- 10
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeNonInteger_1x11x7x4_i8xi4_acci32_st22_pad1001_dilat12/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeNonInteger_1x11x7x4_i8xi4_acci32_st22_pad1001_dilat12/test.json
index c91378753..88801f615 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeNonInteger_1x11x7x4_i8xi4_acci32_st22_pad1001_dilat12/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeNonInteger_1x11x7x4_i8xi4_acci32_st22_pad1001_dilat12/test.json
@@ -5,182 +5,187 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 1,
+ 0,
+ 0,
+ 1
+ ],
+ stride: [
+ 2,
+ 2
+ ],
+ dilation: [
+ 1,
+ 2
+ ],
+ input_zp: -64,
+ weight_zp: 0,
+ accum_dtype: "INT32"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 11,
+ 7,
+ 4
+ ],
+ type: "INT8"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 12,
+ 1,
+ 1,
+ 4
+ ],
+ type: "INT4",
+ data: [
+ 47,
+ 213,
+ 195,
+ 65,
+ 245,
+ 96,
+ 225,
+ 61,
+ 19,
+ 187,
+ 156,
+ 240,
+ 126,
+ 92,
+ 43,
+ 85,
+ 193,
+ 254,
+ 229,
+ 117,
+ 122,
+ 33,
+ 237,
+ 177
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 12
+ ],
+ type: "INT32",
+ data: [
+ 62,
+ 197,
+ 206,
+ 55,
+ 57,
+ 185,
+ 184,
+ 42,
+ 172,
+ 141,
+ 45,
+ 130,
+ 64,
+ 67,
+ 243,
+ 181,
+ 14,
+ 41,
+ 121,
+ 3,
+ 10,
+ 12,
+ 254,
+ 61,
+ 123,
+ 248,
+ 174,
+ 202,
+ 183,
+ 184,
+ 2,
+ 99,
+ 55,
+ 240,
+ 180,
+ 8,
+ 10,
+ 10,
+ 251,
+ 9,
+ 96,
+ 157,
+ 30,
+ 156,
+ 111,
+ 135,
+ 212,
+ 32
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 6,
+ 4,
+ 12
+ ],
+ type: "INT32"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 1,
- 0,
- 0,
- 1
- ],
- stride: [
- 2,
- 2
- ],
- dilation: [
- 1,
- 2
- ],
- input_zp: -64,
- weight_zp: 0,
- accum_dtype: "INT32"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 11,
- 7,
- 4
- ],
- type: "INT8"
- },
- {
- name: "const-1",
- shape: [
- 12,
- 1,
- 1,
- 4
- ],
- type: "INT4",
- data: [
- 47,
- 213,
- 195,
- 65,
- 245,
- 96,
- 225,
- 61,
- 19,
- 187,
- 156,
- 240,
- 126,
- 92,
- 43,
- 85,
- 193,
- 254,
- 229,
- 117,
- 122,
- 33,
- 237,
- 177
- ]
- },
- {
- name: "const-2",
- shape: [
- 12
- ],
- type: "INT32",
- data: [
- 62,
- 197,
- 206,
- 55,
- 57,
- 185,
- 184,
- 42,
- 172,
- 141,
- 45,
- 130,
- 64,
- 67,
- 243,
- 181,
- 14,
- 41,
- 121,
- 3,
- 10,
- 12,
- 254,
- 61,
- 123,
- 248,
- 174,
- 202,
- 183,
- 184,
- 2,
- 99,
- 55,
- 240,
- 180,
- 8,
- 10,
- 10,
- 251,
- 9,
- 96,
- 157,
- 30,
- 156,
- 111,
- 135,
- 212,
- 32
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 6,
- 4,
- 12
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_DilationSmallerOne_1x14x5x7_i8xi4_acci32_st11_pad0000_dilat-5-5/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_DilationSmallerOne_1x14x5x7_i8xi4_acci32_st11_pad0000_dilat-5-5/test.json
index f6f0c5c8d..fafd0e9ab 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_DilationSmallerOne_1x14x5x7_i8xi4_acci32_st11_pad0000_dilat-5-5/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_DilationSmallerOne_1x14x5x7_i8xi4_acci32_st11_pad0000_dilat-5-5/test.json
@@ -5,185 +5,190 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 0,
+ 0,
+ 0
+ ],
+ stride: [
+ 1,
+ 1
+ ],
+ dilation: [
+ -5,
+ -5
+ ],
+ input_zp: 4,
+ weight_zp: 0,
+ accum_dtype: "INT32"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 14,
+ 5,
+ 7
+ ],
+ type: "INT8"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 10,
+ 1,
+ 1,
+ 7
+ ],
+ type: "INT4",
+ data: [
+ 16,
+ 90,
+ 100,
+ 90,
+ 94,
+ 103,
+ 166,
+ 221,
+ 112,
+ 19,
+ 181,
+ 2,
+ 44,
+ 85,
+ 85,
+ 144,
+ 247,
+ 146,
+ 102,
+ 182,
+ 37,
+ 27,
+ 32,
+ 26,
+ 51,
+ 36,
+ 163,
+ 228,
+ 17,
+ 215,
+ 78,
+ 210,
+ 94,
+ 181,
+ 78
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 10
+ ],
+ type: "INT32",
+ data: [
+ 39,
+ 75,
+ 93,
+ 158,
+ 84,
+ 151,
+ 247,
+ 174,
+ 175,
+ 236,
+ 147,
+ 168,
+ 105,
+ 2,
+ 44,
+ 7,
+ 229,
+ 194,
+ 113,
+ 243,
+ 163,
+ 226,
+ 13,
+ 210,
+ 57,
+ 79,
+ 208,
+ 162,
+ 127,
+ 89,
+ 40,
+ 35,
+ 200,
+ 8,
+ 171,
+ 78,
+ 206,
+ 39,
+ 118,
+ 182
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 14,
+ 5,
+ 10
+ ],
+ type: "INT32"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 0,
- 0,
- 0,
- 0
- ],
- stride: [
- 1,
- 1
- ],
- dilation: [
- -5,
- -5
- ],
- input_zp: 4,
- weight_zp: 0,
- accum_dtype: "INT32"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 14,
- 5,
- 7
- ],
- type: "INT8"
- },
- {
- name: "const-1",
- shape: [
- 10,
- 1,
- 1,
- 7
- ],
- type: "INT4",
- data: [
- 16,
- 90,
- 100,
- 90,
- 94,
- 103,
- 166,
- 221,
- 112,
- 19,
- 181,
- 2,
- 44,
- 85,
- 85,
- 144,
- 247,
- 146,
- 102,
- 182,
- 37,
- 27,
- 32,
- 26,
- 51,
- 36,
- 163,
- 228,
- 17,
- 215,
- 78,
- 210,
- 94,
- 181,
- 78
- ]
- },
- {
- name: "const-2",
- shape: [
- 10
- ],
- type: "INT32",
- data: [
- 39,
- 75,
- 93,
- 158,
- 84,
- 151,
- 247,
- 174,
- 175,
- 236,
- 147,
- 168,
- 105,
- 2,
- 44,
- 7,
- 229,
- 194,
- 113,
- 243,
- 163,
- 226,
- 13,
- 210,
- 57,
- 79,
- 208,
- 162,
- 127,
- 89,
- 40,
- 35,
- 200,
- 8,
- 171,
- 78,
- 206,
- 39,
- 118,
- 182
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 14,
- 5,
- 10
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_dilat11/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_dilat11/test.json
index 402ed9aaa..6baee9e6e 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_dilat11/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_dilat11/test.json
@@ -5,174 +5,179 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 0,
+ 0,
+ 0
+ ],
+ stride: [
+ 1,
+ 1
+ ],
+ dilation: [
+ 1,
+ 1
+ ],
+ input_zp: 57,
+ weight_zp: 101,
+ accum_dtype: "INT48"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 14,
+ 6,
+ 2
+ ],
+ type: "INT16"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 8,
+ 1,
+ 1,
+ 2
+ ],
+ type: "INT8",
+ data: [
+ 101,
+ 134,
+ 169,
+ 77,
+ 171,
+ 51,
+ 102,
+ 255,
+ 252,
+ 237,
+ 223,
+ 225,
+ 13,
+ 101,
+ 123,
+ 93
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 8
+ ],
+ type: "INT48",
+ data: [
+ 136,
+ 78,
+ 86,
+ 102,
+ 199,
+ 65,
+ 167,
+ 139,
+ 52,
+ 97,
+ 150,
+ 213,
+ 170,
+ 79,
+ 230,
+ 240,
+ 246,
+ 157,
+ 25,
+ 85,
+ 10,
+ 211,
+ 3,
+ 236,
+ 122,
+ 106,
+ 143,
+ 17,
+ 123,
+ 12,
+ 226,
+ 69,
+ 226,
+ 230,
+ 185,
+ 180,
+ 52,
+ 227,
+ 64,
+ 189,
+ 191,
+ 231,
+ 55,
+ 65,
+ 252,
+ 169,
+ 187,
+ 34
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 14,
+ 6,
+ 8
+ ],
+ type: "INT48"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 0,
- 0,
- 0,
- 0
- ],
- stride: [
- 1,
- 1
- ],
- dilation: [
- 1,
- 1
- ],
- input_zp: 57,
- weight_zp: 101,
- accum_dtype: "INT48"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 14,
- 6,
- 2
- ],
- type: "INT16"
- },
- {
- name: "const-1",
- shape: [
- 8,
- 1,
- 1,
- 2
- ],
- type: "INT8",
- data: [
- 101,
- 134,
- 169,
- 77,
- 171,
- 51,
- 102,
- 255,
- 252,
- 237,
- 223,
- 225,
- 13,
- 101,
- 123,
- 93
- ]
- },
- {
- name: "const-2",
- shape: [
- 8
- ],
- type: "INT48",
- data: [
- 136,
- 78,
- 86,
- 102,
- 199,
- 65,
- 167,
- 139,
- 52,
- 97,
- 150,
- 213,
- 170,
- 79,
- 230,
- 240,
- 246,
- 157,
- 25,
- 85,
- 10,
- 211,
- 3,
- 236,
- 122,
- 106,
- 143,
- 17,
- 123,
- 12,
- 226,
- 69,
- 226,
- 230,
- 185,
- 180,
- 52,
- 227,
- 64,
- 189,
- 191,
- 231,
- 55,
- 65,
- 252,
- 169,
- 187,
- 34
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 14,
- 6,
- 8
- ],
- type: "INT48"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_StrideSmallerOne_1x12x5x10_i8xi4_acci32_st-4-4_pad0000_dilat11/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_StrideSmallerOne_1x12x5x10_i8xi4_acci32_st-4-4_pad0000_dilat11/test.json
index 9d5117ec3..9050ab7ee 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_StrideSmallerOne_1x12x5x10_i8xi4_acci32_st-4-4_pad0000_dilat11/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_StrideSmallerOne_1x12x5x10_i8xi4_acci32_st-4-4_pad0000_dilat11/test.json
@@ -5,119 +5,124 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 0,
+ 0,
+ 0
+ ],
+ stride: [
+ -4,
+ -4
+ ],
+ dilation: [
+ 1,
+ 1
+ ],
+ input_zp: -38,
+ weight_zp: 0,
+ accum_dtype: "INT32"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 12,
+ 5,
+ 10
+ ],
+ type: "INT8"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 1,
+ 1,
+ 10
+ ],
+ type: "INT4",
+ data: [
+ 53,
+ 221,
+ 6,
+ 219,
+ 252
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT32",
+ data: [
+ 190,
+ 171,
+ 134,
+ 216
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ -2,
+ 0,
+ 1
+ ],
+ type: "INT32"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 0,
- 0,
- 0,
- 0
- ],
- stride: [
- -4,
- -4
- ],
- dilation: [
- 1,
- 1
- ],
- input_zp: -38,
- weight_zp: 0,
- accum_dtype: "INT32"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 12,
- 5,
- 10
- ],
- type: "INT8"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 1,
- 1,
- 10
- ],
- type: "INT4",
- data: [
- 53,
- 221,
- 6,
- 219,
- 252
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT32",
- data: [
- 190,
- 171,
- 134,
- 216
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- -2,
- 0,
- 1
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x12x10x8_bf16xbf16_accf32_st11_pad0000_dilat11/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x12x10x8_bf16xbf16_accf32_st11_pad0000_dilat11/test.json
index b652a6bc9..6acdda890 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x12x10x8_bf16xbf16_accf32_st11_pad0000_dilat11/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x12x10x8_bf16xbf16_accf32_st11_pad0000_dilat11/test.json
@@ -5,506 +5,511 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 0,
+ 0,
+ 0
+ ],
+ stride: [
+ 1,
+ 1
+ ],
+ dilation: [
+ 1,
+ 1
+ ],
+ input_zp: 0,
+ weight_zp: 2,
+ accum_dtype: "FP32"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 12,
+ 10,
+ 8
+ ],
+ type: "BF16"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 11,
+ 1,
+ 1,
+ 8
+ ],
+ type: "BF16",
+ data: [
+ 0,
+ 0,
+ 74,
+ 63,
+ 0,
+ 0,
+ 179,
+ 62,
+ 0,
+ 0,
+ 120,
+ 62,
+ 0,
+ 0,
+ 57,
+ 63,
+ 0,
+ 0,
+ 73,
+ 63,
+ 0,
+ 0,
+ 116,
+ 63,
+ 0,
+ 0,
+ 23,
+ 62,
+ 0,
+ 0,
+ 99,
+ 63,
+ 0,
+ 0,
+ 67,
+ 63,
+ 0,
+ 0,
+ 51,
+ 63,
+ 0,
+ 0,
+ 160,
+ 62,
+ 0,
+ 0,
+ 181,
+ 60,
+ 0,
+ 0,
+ 1,
+ 63,
+ 0,
+ 0,
+ 146,
+ 62,
+ 0,
+ 0,
+ 148,
+ 62,
+ 0,
+ 0,
+ 109,
+ 63,
+ 0,
+ 0,
+ 28,
+ 62,
+ 0,
+ 0,
+ 111,
+ 63,
+ 0,
+ 0,
+ 0,
+ 63,
+ 0,
+ 0,
+ 86,
+ 63,
+ 0,
+ 0,
+ 145,
+ 62,
+ 0,
+ 0,
+ 34,
+ 63,
+ 0,
+ 0,
+ 14,
+ 63,
+ 0,
+ 0,
+ 108,
+ 63,
+ 0,
+ 0,
+ 55,
+ 62,
+ 0,
+ 0,
+ 81,
+ 62,
+ 0,
+ 0,
+ 114,
+ 63,
+ 0,
+ 0,
+ 200,
+ 61,
+ 0,
+ 0,
+ 34,
+ 63,
+ 0,
+ 0,
+ 120,
+ 61,
+ 0,
+ 0,
+ 157,
+ 61,
+ 0,
+ 0,
+ 24,
+ 63,
+ 0,
+ 0,
+ 13,
+ 63,
+ 0,
+ 0,
+ 18,
+ 63,
+ 0,
+ 0,
+ 242,
+ 62,
+ 0,
+ 0,
+ 62,
+ 63,
+ 0,
+ 0,
+ 126,
+ 63,
+ 0,
+ 0,
+ 141,
+ 62,
+ 0,
+ 0,
+ 165,
+ 62,
+ 0,
+ 0,
+ 165,
+ 62,
+ 0,
+ 0,
+ 67,
+ 63,
+ 0,
+ 0,
+ 178,
+ 62,
+ 0,
+ 0,
+ 45,
+ 63,
+ 0,
+ 0,
+ 228,
+ 62,
+ 0,
+ 0,
+ 27,
+ 63,
+ 0,
+ 0,
+ 84,
+ 63,
+ 0,
+ 0,
+ 3,
+ 63,
+ 0,
+ 0,
+ 243,
+ 62,
+ 0,
+ 0,
+ 136,
+ 62,
+ 0,
+ 0,
+ 4,
+ 63,
+ 0,
+ 0,
+ 134,
+ 62,
+ 0,
+ 0,
+ 87,
+ 63,
+ 0,
+ 0,
+ 199,
+ 62,
+ 0,
+ 0,
+ 4,
+ 62,
+ 0,
+ 0,
+ 117,
+ 62,
+ 0,
+ 0,
+ 8,
+ 63,
+ 0,
+ 0,
+ 106,
+ 63,
+ 0,
+ 0,
+ 153,
+ 62,
+ 0,
+ 0,
+ 135,
+ 62,
+ 0,
+ 0,
+ 208,
+ 62,
+ 0,
+ 0,
+ 119,
+ 63,
+ 0,
+ 0,
+ 88,
+ 63,
+ 0,
+ 0,
+ 25,
+ 62,
+ 0,
+ 0,
+ 29,
+ 63,
+ 0,
+ 0,
+ 74,
+ 63,
+ 0,
+ 0,
+ 68,
+ 63,
+ 0,
+ 0,
+ 250,
+ 62,
+ 0,
+ 0,
+ 59,
+ 63,
+ 0,
+ 0,
+ 21,
+ 63,
+ 0,
+ 0,
+ 78,
+ 62,
+ 0,
+ 0,
+ 101,
+ 61,
+ 0,
+ 0,
+ 189,
+ 62,
+ 0,
+ 0,
+ 125,
+ 61,
+ 0,
+ 0,
+ 202,
+ 62,
+ 0,
+ 0,
+ 84,
+ 63,
+ 0,
+ 0,
+ 88,
+ 63,
+ 0,
+ 0,
+ 11,
+ 61,
+ 0,
+ 0,
+ 142,
+ 61,
+ 0,
+ 0,
+ 43,
+ 63,
+ 0,
+ 0,
+ 255,
+ 62,
+ 0,
+ 0,
+ 24,
+ 62,
+ 0,
+ 0,
+ 78,
+ 63,
+ 0,
+ 0,
+ 93,
+ 62,
+ 0,
+ 0,
+ 160,
+ 61,
+ 0,
+ 0,
+ 63,
+ 63,
+ 0,
+ 0,
+ 27,
+ 63,
+ 0,
+ 0,
+ 201,
+ 62,
+ 0,
+ 0,
+ 49,
+ 63
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 11
+ ],
+ type: "FP32",
+ data: [
+ 63,
+ 80,
+ 105,
+ 63,
+ 228,
+ 2,
+ 12,
+ 61,
+ 154,
+ 175,
+ 32,
+ 63,
+ 63,
+ 103,
+ 95,
+ 62,
+ 47,
+ 194,
+ 242,
+ 62,
+ 14,
+ 20,
+ 217,
+ 62,
+ 106,
+ 171,
+ 199,
+ 62,
+ 182,
+ 236,
+ 66,
+ 62,
+ 119,
+ 122,
+ 77,
+ 63,
+ 134,
+ 80,
+ 194,
+ 62,
+ 75,
+ 31,
+ 99,
+ 63
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 12,
+ 10,
+ 11
+ ],
+ type: "FP32"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 0,
- 0,
- 0,
- 0
- ],
- stride: [
- 1,
- 1
- ],
- dilation: [
- 1,
- 1
- ],
- input_zp: 0,
- weight_zp: 2,
- accum_dtype: "FP32"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 12,
- 10,
- 8
- ],
- type: "BF16"
- },
- {
- name: "const-1",
- shape: [
- 11,
- 1,
- 1,
- 8
- ],
- type: "BF16",
- data: [
- 0,
- 0,
- 74,
- 63,
- 0,
- 0,
- 179,
- 62,
- 0,
- 0,
- 120,
- 62,
- 0,
- 0,
- 57,
- 63,
- 0,
- 0,
- 73,
- 63,
- 0,
- 0,
- 116,
- 63,
- 0,
- 0,
- 23,
- 62,
- 0,
- 0,
- 99,
- 63,
- 0,
- 0,
- 67,
- 63,
- 0,
- 0,
- 51,
- 63,
- 0,
- 0,
- 160,
- 62,
- 0,
- 0,
- 181,
- 60,
- 0,
- 0,
- 1,
- 63,
- 0,
- 0,
- 146,
- 62,
- 0,
- 0,
- 148,
- 62,
- 0,
- 0,
- 109,
- 63,
- 0,
- 0,
- 28,
- 62,
- 0,
- 0,
- 111,
- 63,
- 0,
- 0,
- 0,
- 63,
- 0,
- 0,
- 86,
- 63,
- 0,
- 0,
- 145,
- 62,
- 0,
- 0,
- 34,
- 63,
- 0,
- 0,
- 14,
- 63,
- 0,
- 0,
- 108,
- 63,
- 0,
- 0,
- 55,
- 62,
- 0,
- 0,
- 81,
- 62,
- 0,
- 0,
- 114,
- 63,
- 0,
- 0,
- 200,
- 61,
- 0,
- 0,
- 34,
- 63,
- 0,
- 0,
- 120,
- 61,
- 0,
- 0,
- 157,
- 61,
- 0,
- 0,
- 24,
- 63,
- 0,
- 0,
- 13,
- 63,
- 0,
- 0,
- 18,
- 63,
- 0,
- 0,
- 242,
- 62,
- 0,
- 0,
- 62,
- 63,
- 0,
- 0,
- 126,
- 63,
- 0,
- 0,
- 141,
- 62,
- 0,
- 0,
- 165,
- 62,
- 0,
- 0,
- 165,
- 62,
- 0,
- 0,
- 67,
- 63,
- 0,
- 0,
- 178,
- 62,
- 0,
- 0,
- 45,
- 63,
- 0,
- 0,
- 228,
- 62,
- 0,
- 0,
- 27,
- 63,
- 0,
- 0,
- 84,
- 63,
- 0,
- 0,
- 3,
- 63,
- 0,
- 0,
- 243,
- 62,
- 0,
- 0,
- 136,
- 62,
- 0,
- 0,
- 4,
- 63,
- 0,
- 0,
- 134,
- 62,
- 0,
- 0,
- 87,
- 63,
- 0,
- 0,
- 199,
- 62,
- 0,
- 0,
- 4,
- 62,
- 0,
- 0,
- 117,
- 62,
- 0,
- 0,
- 8,
- 63,
- 0,
- 0,
- 106,
- 63,
- 0,
- 0,
- 153,
- 62,
- 0,
- 0,
- 135,
- 62,
- 0,
- 0,
- 208,
- 62,
- 0,
- 0,
- 119,
- 63,
- 0,
- 0,
- 88,
- 63,
- 0,
- 0,
- 25,
- 62,
- 0,
- 0,
- 29,
- 63,
- 0,
- 0,
- 74,
- 63,
- 0,
- 0,
- 68,
- 63,
- 0,
- 0,
- 250,
- 62,
- 0,
- 0,
- 59,
- 63,
- 0,
- 0,
- 21,
- 63,
- 0,
- 0,
- 78,
- 62,
- 0,
- 0,
- 101,
- 61,
- 0,
- 0,
- 189,
- 62,
- 0,
- 0,
- 125,
- 61,
- 0,
- 0,
- 202,
- 62,
- 0,
- 0,
- 84,
- 63,
- 0,
- 0,
- 88,
- 63,
- 0,
- 0,
- 11,
- 61,
- 0,
- 0,
- 142,
- 61,
- 0,
- 0,
- 43,
- 63,
- 0,
- 0,
- 255,
- 62,
- 0,
- 0,
- 24,
- 62,
- 0,
- 0,
- 78,
- 63,
- 0,
- 0,
- 93,
- 62,
- 0,
- 0,
- 160,
- 61,
- 0,
- 0,
- 63,
- 63,
- 0,
- 0,
- 27,
- 63,
- 0,
- 0,
- 201,
- 62,
- 0,
- 0,
- 49,
- 63
- ]
- },
- {
- name: "const-2",
- shape: [
- 11
- ],
- type: "FP32",
- data: [
- 63,
- 80,
- 105,
- 63,
- 228,
- 2,
- 12,
- 61,
- 154,
- 175,
- 32,
- 63,
- 63,
- 103,
- 95,
- 62,
- 47,
- 194,
- 242,
- 62,
- 14,
- 20,
- 217,
- 62,
- 106,
- 171,
- 199,
- 62,
- 182,
- 236,
- 66,
- 62,
- 119,
- 122,
- 77,
- 63,
- 134,
- 80,
- 194,
- 62,
- 75,
- 31,
- 99,
- 63
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 12,
- 10,
- 11
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_dilat11/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_dilat11/test.json
index 7d031052b..33dd66153 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_dilat11/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_dilat11/test.json
@@ -5,129 +5,134 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 0,
+ 0,
+ 0
+ ],
+ stride: [
+ 1,
+ 1
+ ],
+ dilation: [
+ 1,
+ 1
+ ],
+ input_zp: -52,
+ weight_zp: -32,
+ accum_dtype: "INT32"
+ },
+ inputs: [
+ "input-0",
+ "const-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 12,
+ 11,
+ 6
+ ],
+ type: "INT8"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 2,
+ 1,
+ 1,
+ 6
+ ],
+ type: "INT8",
+ data: [
+ 35,
+ 93,
+ 73,
+ 206,
+ 101,
+ 220,
+ 46,
+ 1,
+ 145,
+ 128,
+ 174,
+ 111
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 2
+ ],
+ type: "INT32",
+ data: [
+ 5,
+ 234,
+ 55,
+ 116,
+ 182,
+ 170,
+ 252,
+ 232
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 12,
+ 11,
+ 2
+ ],
+ type: "INT32"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 0,
- 0,
- 0,
- 0
- ],
- stride: [
- 1,
- 1
- ],
- dilation: [
- 1,
- 1
- ],
- input_zp: -52,
- weight_zp: -32,
- accum_dtype: "INT32"
- },
inputs: [
- "input-0",
- "const-1"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 12,
- 11,
- 6
- ],
- type: "INT8"
- },
- {
- name: "const-1",
- shape: [
- 2,
- 1,
- 1,
- 6
- ],
- type: "INT8",
- data: [
- 35,
- 93,
- 73,
- 206,
- 101,
- 220,
- 46,
- 1,
- 145,
- 128,
- 174,
- 111
- ]
- },
- {
- name: "const-2",
- shape: [
- 2
- ],
- type: "INT32",
- data: [
- 5,
- 234,
- 55,
- 116,
- 182,
- 170,
- 252,
- 232
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 12,
- 11,
- 2
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputType_1x12x10x7_bxb_accb_st11_pad0000_dilat11/desc.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputType_1x12x10x7_bxb_accb_st11_pad0000_dilat11/desc.json
index 15cad4b15..992afc22b 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputType_1x12x10x7_bxb_accb_st11_pad0000_dilat11/desc.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputType_1x12x10x7_bxb_accb_st11_pad0000_dilat11/desc.json
@@ -16,6 +16,7 @@
"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/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputType_1x12x10x7_bxb_accb_st11_pad0000_dilat11/input-0.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputType_1x12x10x7_bxb_accb_st11_pad0000_dilat11/input-0.json
index 5e9dbc8cd..f47280eba 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputType_1x12x10x7_bxb_accb_st11_pad0000_dilat11/input-0.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputType_1x12x10x7_bxb_accb_st11_pad0000_dilat11/input-0.json
@@ -7,18 +7,45 @@
false,
false,
true,
+ false,
+ false,
+ true,
+ false
+ ],
+ [
true,
false,
+ true,
+ true,
+ true,
false,
false
],
[
true,
false,
+ true,
false,
+ true,
+ true,
+ false
+ ],
+ [
+ false,
+ true,
false,
true,
false,
+ true,
+ true
+ ],
+ [
+ false,
+ true,
+ false,
+ true,
+ false,
+ false,
false
],
[
@@ -26,12 +53,50 @@
false,
true,
false,
+ true,
+ false,
+ false
+ ],
+ [
+ true,
+ true,
+ false,
+ false,
+ true,
+ true,
+ true
+ ],
+ [
+ false,
false,
true,
+ true,
+ false,
+ false,
false
],
[
true,
+ false,
+ false,
+ false,
+ true,
+ false,
+ false
+ ],
+ [
+ false,
+ false,
+ true,
+ false,
+ false,
+ true,
+ false
+ ]
+ ],
+ [
+ [
+ true,
true,
false,
true,
@@ -92,9 +157,7 @@
true,
false,
true
- ]
- ],
- [
+ ],
[
true,
false,
@@ -121,7 +184,9 @@
true,
true,
false
- ],
+ ]
+ ],
+ [
[
true,
false,
@@ -184,9 +249,7 @@
true,
false,
true
- ]
- ],
- [
+ ],
[
false,
false,
@@ -213,7 +276,9 @@
false,
false,
true
- ],
+ ]
+ ],
+ [
[
true,
false,
@@ -276,9 +341,7 @@
false,
true,
true
- ]
- ],
- [
+ ],
[
true,
false,
@@ -305,7 +368,9 @@
false,
false,
false
- ],
+ ]
+ ],
+ [
[
false,
true,
@@ -368,9 +433,7 @@
false,
true,
false
- ]
- ],
- [
+ ],
[
false,
true,
@@ -397,7 +460,9 @@
true,
false,
false
- ],
+ ]
+ ],
+ [
[
false,
true,
@@ -460,9 +525,7 @@
false,
true,
true
- ]
- ],
- [
+ ],
[
false,
false,
@@ -489,7 +552,9 @@
false,
true,
false
- ],
+ ]
+ ],
+ [
[
false,
true,
@@ -552,9 +617,7 @@
true,
false,
true
- ]
- ],
- [
+ ],
[
false,
true,
@@ -581,7 +644,9 @@
false,
true,
false
- ],
+ ]
+ ],
+ [
[
true,
false,
@@ -644,9 +709,7 @@
true,
true,
false
- ]
- ],
- [
+ ],
[
true,
false,
@@ -673,7 +736,9 @@
true,
true,
false
- ],
+ ]
+ ],
+ [
[
false,
false,
@@ -736,9 +801,7 @@
true,
true,
false
- ]
- ],
- [
+ ],
[
true,
true,
@@ -765,7 +828,9 @@
false,
false,
false
- ],
+ ]
+ ],
+ [
[
false,
true,
@@ -828,9 +893,7 @@
true,
true,
true
- ]
- ],
- [
+ ],
[
true,
false,
@@ -857,7 +920,9 @@
true,
false,
true
- ],
+ ]
+ ],
+ [
[
true,
false,
@@ -920,9 +985,7 @@
false,
true,
true
- ]
- ],
- [
+ ],
[
true,
false,
@@ -949,7 +1012,9 @@
true,
true,
true
- ],
+ ]
+ ],
+ [
[
false,
false,
@@ -1012,97 +1077,32 @@
false,
false,
true
- ]
- ],
- [
- [
- true,
- false,
- false,
- true,
- true,
- true,
- false
],
[
- false,
true,
false,
false,
true,
true,
- false
- ],
- [
- true,
- false,
- true,
- true,
- false,
true,
false
],
[
- true,
- false,
- false,
- true,
- true,
- false,
- true
- ],
- [
- true,
- false,
- true,
- true,
false,
- false,
- true
- ],
- [
- false,
- true,
true,
false,
false,
true,
- false
- ],
- [
- false,
- true,
- true,
- true,
- true,
- true,
- false
- ],
- [
- true,
- true,
- true,
- true,
- false,
true,
false
],
[
true,
false,
- false,
- false,
true,
true,
- false
- ],
- [
- false,
- false,
false,
true,
- false,
- false,
false
]
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputType_1x12x10x7_bxb_accb_st11_pad0000_dilat11/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputType_1x12x10x7_bxb_accb_st11_pad0000_dilat11/test.json
index efa3b744a..c16da5427 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputType_1x12x10x7_bxb_accb_st11_pad0000_dilat11/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputType_1x12x10x7_bxb_accb_st11_pad0000_dilat11/test.json
@@ -5,166 +5,171 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 0,
+ 0,
+ 0
+ ],
+ stride: [
+ 1,
+ 1
+ ],
+ dilation: [
+ 1,
+ 1
+ ],
+ input_zp: 0,
+ weight_zp: 0,
+ accum_dtype: "BOOL"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 12,
+ 10,
+ 7
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 7,
+ 1,
+ 1,
+ 7
+ ],
+ type: "BOOL",
+ data: [
+ 1,
+ 0,
+ 0,
+ 1,
+ 1,
+ 0,
+ 1,
+ 1,
+ 0,
+ 1,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 1,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 0,
+ 1,
+ 1,
+ 1,
+ 1,
+ 0,
+ 1,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 1,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 7
+ ],
+ type: "BOOL",
+ data: [
+ 0,
+ 1,
+ 1,
+ 0,
+ 1,
+ 0,
+ 0
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 12,
+ 10,
+ 7
+ ],
+ type: "INT32"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 0,
- 0,
- 0,
- 0
- ],
- stride: [
- 1,
- 1
- ],
- dilation: [
- 1,
- 1
- ],
- input_zp: 0,
- weight_zp: 0,
- accum_dtype: "BOOL"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 12,
- 10,
- 7
- ],
- type: "BOOL"
- },
- {
- name: "const-1",
- shape: [
- 7,
- 1,
- 1,
- 7
- ],
- type: "BOOL",
- data: [
- 0,
- 1,
- 1,
- 0,
- 1,
- 0,
- 0,
- 0,
- 0,
- 0,
- 1,
- 1,
- 1,
- 0,
- 0,
- 0,
- 0,
- 0,
- 1,
- 1,
- 1,
- 1,
- 1,
- 1,
- 0,
- 1,
- 1,
- 1,
- 1,
- 0,
- 1,
- 0,
- 1,
- 1,
- 1,
- 0,
- 1,
- 1,
- 0,
- 0,
- 1,
- 1,
- 1,
- 1,
- 0,
- 1,
- 0,
- 1,
- 0
- ]
- },
- {
- name: "const-2",
- shape: [
- 7
- ],
- type: "BOOL",
- data: [
- 1,
- 0,
- 1,
- 0,
- 0,
- 1,
- 0
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 12,
- 10,
- 7
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongOutputList_1x12x6x15_i16xi8_acci48_st11_pad0000_dilat11/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongOutputList_1x12x6x15_i16xi8_acci48_st11_pad0000_dilat11/test.json
index 32a3c4826..ce1080d0e 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongOutputList_1x12x6x15_i16xi8_acci48_st11_pad0000_dilat11/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongOutputList_1x12x6x15_i16xi8_acci48_st11_pad0000_dilat11/test.json
@@ -5,257 +5,262 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 0,
- 0,
- 0,
- 0
- ],
- stride: [
- 1,
- 1
- ],
- dilation: [
- 1,
- 1
- ],
- input_zp: 0,
- weight_zp: 27,
- accum_dtype: "INT48"
- },
- inputs: [
- "input-0",
- "const-1",
- "const-2"
- ],
- outputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 0,
+ 0,
+ 0
+ ],
+ stride: [
+ 1,
+ 1
+ ],
+ dilation: [
+ 1,
+ 1
+ ],
+ input_zp: 0,
+ weight_zp: 27,
+ accum_dtype: "INT48"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
- ]
- }
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 12,
- 6,
- 15
+ ]
+ }
],
- type: "INT16"
- },
- {
- name: "const-1",
- shape: [
- 7,
- 1,
- 1,
- 15
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 12,
+ 6,
+ 15
+ ],
+ type: "INT16"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 7,
+ 1,
+ 1,
+ 15
+ ],
+ type: "INT8",
+ data: [
+ 27,
+ 187,
+ 188,
+ 148,
+ 144,
+ 58,
+ 90,
+ 169,
+ 18,
+ 159,
+ 234,
+ 74,
+ 79,
+ 114,
+ 207,
+ 114,
+ 72,
+ 214,
+ 211,
+ 155,
+ 107,
+ 180,
+ 196,
+ 233,
+ 163,
+ 78,
+ 50,
+ 168,
+ 169,
+ 133,
+ 115,
+ 239,
+ 39,
+ 166,
+ 187,
+ 10,
+ 181,
+ 28,
+ 108,
+ 206,
+ 27,
+ 106,
+ 100,
+ 129,
+ 156,
+ 124,
+ 108,
+ 210,
+ 5,
+ 18,
+ 43,
+ 64,
+ 223,
+ 99,
+ 143,
+ 136,
+ 117,
+ 173,
+ 126,
+ 201,
+ 221,
+ 135,
+ 113,
+ 219,
+ 170,
+ 251,
+ 167,
+ 74,
+ 146,
+ 255,
+ 228,
+ 137,
+ 141,
+ 4,
+ 229,
+ 161,
+ 163,
+ 78,
+ 59,
+ 27,
+ 85,
+ 145,
+ 48,
+ 64,
+ 179,
+ 9,
+ 68,
+ 26,
+ 191,
+ 42,
+ 66,
+ 130,
+ 17,
+ 1,
+ 221,
+ 139,
+ 149,
+ 64,
+ 83,
+ 235,
+ 112,
+ 109,
+ 42,
+ 20,
+ 118
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 7
+ ],
+ type: "INT48",
+ data: [
+ 27,
+ 156,
+ 11,
+ 237,
+ 33,
+ 111,
+ 158,
+ 250,
+ 44,
+ 219,
+ 209,
+ 177,
+ 34,
+ 169,
+ 131,
+ 187,
+ 48,
+ 59,
+ 240,
+ 209,
+ 103,
+ 10,
+ 108,
+ 217,
+ 146,
+ 220,
+ 15,
+ 240,
+ 205,
+ 252,
+ 7,
+ 99,
+ 241,
+ 226,
+ 46,
+ 168,
+ 58,
+ 82,
+ 4,
+ 37,
+ 139,
+ 121
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 12,
+ 6,
+ 7
+ ],
+ type: "INT48"
+ }
],
- type: "INT8",
- data: [
- 27,
- 187,
- 188,
- 148,
- 144,
- 58,
- 90,
- 169,
- 18,
- 159,
- 234,
- 74,
- 79,
- 114,
- 207,
- 114,
- 72,
- 214,
- 211,
- 155,
- 107,
- 180,
- 196,
- 233,
- 163,
- 78,
- 50,
- 168,
- 169,
- 133,
- 115,
- 239,
- 39,
- 166,
- 187,
- 10,
- 181,
- 28,
- 108,
- 206,
- 27,
- 106,
- 100,
- 129,
- 156,
- 124,
- 108,
- 210,
- 5,
- 18,
- 43,
- 64,
- 223,
- 99,
- 143,
- 136,
- 117,
- 173,
- 126,
- 201,
- 221,
- 135,
- 113,
- 219,
- 170,
- 251,
- 167,
- 74,
- 146,
- 255,
- 228,
- 137,
- 141,
- 4,
- 229,
- 161,
- 163,
- 78,
- 59,
- 27,
- 85,
- 145,
- 48,
- 64,
- 179,
- 9,
- 68,
- 26,
- 191,
- 42,
- 66,
- 130,
- 17,
- 1,
- 221,
- 139,
- 149,
- 64,
- 83,
- 235,
- 112,
- 109,
- 42,
- 20,
- 118
- ]
- },
- {
- name: "const-2",
- shape: [
- 7
+ inputs: [
+ "input-0"
],
- type: "INT48",
- data: [
- 27,
- 156,
- 11,
- 237,
- 33,
- 111,
- 158,
- 250,
- 44,
- 219,
- 209,
- 177,
- 34,
- 169,
- 131,
- 187,
- 48,
- 59,
- 240,
- 209,
- 103,
- 10,
- 108,
- 217,
- 146,
- 220,
- 15,
- 240,
- 205,
- 252,
- 7,
- 99,
- 241,
- 226,
- 46,
- 168,
- 58,
- 82,
- 4,
- 37,
- 139,
- 121
+ outputs: [
+ "result-0"
]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 12,
- 6,
- 7
- ],
- type: "INT48"
}
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongOutputType_1x4x2x9_i16xi8_acci48_st11_pad0000_dilat11/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongOutputType_1x4x2x9_i16xi8_acci48_st11_pad0000_dilat11/test.json
index 64de2ec16..4b423956b 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongOutputType_1x4x2x9_i16xi8_acci48_st11_pad0000_dilat11/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongOutputType_1x4x2x9_i16xi8_acci48_st11_pad0000_dilat11/test.json
@@ -5,320 +5,325 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 0,
+ 0,
+ 0
+ ],
+ stride: [
+ 1,
+ 1
+ ],
+ dilation: [
+ 1,
+ 1
+ ],
+ input_zp: 0,
+ weight_zp: -113,
+ accum_dtype: "INT48"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 4,
+ 2,
+ 9
+ ],
+ type: "INT16"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 14,
+ 1,
+ 1,
+ 9
+ ],
+ type: "INT8",
+ data: [
+ 53,
+ 190,
+ 65,
+ 10,
+ 110,
+ 40,
+ 100,
+ 122,
+ 126,
+ 62,
+ 24,
+ 158,
+ 226,
+ 249,
+ 71,
+ 22,
+ 240,
+ 165,
+ 55,
+ 238,
+ 137,
+ 200,
+ 97,
+ 158,
+ 231,
+ 3,
+ 149,
+ 170,
+ 112,
+ 23,
+ 181,
+ 171,
+ 236,
+ 57,
+ 58,
+ 177,
+ 57,
+ 101,
+ 185,
+ 134,
+ 117,
+ 5,
+ 70,
+ 209,
+ 204,
+ 185,
+ 183,
+ 248,
+ 155,
+ 87,
+ 2,
+ 106,
+ 0,
+ 205,
+ 3,
+ 167,
+ 82,
+ 56,
+ 165,
+ 20,
+ 9,
+ 179,
+ 159,
+ 66,
+ 195,
+ 4,
+ 191,
+ 39,
+ 140,
+ 219,
+ 12,
+ 240,
+ 28,
+ 174,
+ 241,
+ 65,
+ 213,
+ 168,
+ 89,
+ 71,
+ 46,
+ 76,
+ 71,
+ 63,
+ 2,
+ 132,
+ 24,
+ 197,
+ 69,
+ 247,
+ 103,
+ 24,
+ 12,
+ 107,
+ 249,
+ 224,
+ 223,
+ 96,
+ 65,
+ 169,
+ 254,
+ 223,
+ 37,
+ 141,
+ 54,
+ 62,
+ 186,
+ 166,
+ 32,
+ 193,
+ 113,
+ 70,
+ 116,
+ 8,
+ 112,
+ 131,
+ 202,
+ 128,
+ 45,
+ 2,
+ 201,
+ 206,
+ 36,
+ 174,
+ 3,
+ 29
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 14
+ ],
+ type: "INT48",
+ data: [
+ 111,
+ 61,
+ 7,
+ 208,
+ 122,
+ 186,
+ 174,
+ 90,
+ 68,
+ 227,
+ 154,
+ 23,
+ 31,
+ 65,
+ 198,
+ 146,
+ 23,
+ 225,
+ 31,
+ 139,
+ 161,
+ 153,
+ 206,
+ 175,
+ 165,
+ 145,
+ 4,
+ 213,
+ 90,
+ 163,
+ 125,
+ 36,
+ 128,
+ 229,
+ 162,
+ 188,
+ 88,
+ 73,
+ 184,
+ 19,
+ 163,
+ 135,
+ 43,
+ 246,
+ 152,
+ 104,
+ 225,
+ 206,
+ 251,
+ 205,
+ 168,
+ 128,
+ 230,
+ 102,
+ 246,
+ 204,
+ 245,
+ 37,
+ 212,
+ 84,
+ 158,
+ 25,
+ 97,
+ 163,
+ 59,
+ 223,
+ 6,
+ 191,
+ 255,
+ 212,
+ 105,
+ 19,
+ 114,
+ 1,
+ 166,
+ 138,
+ 62,
+ 17,
+ 244,
+ 205,
+ 179,
+ 36,
+ 40,
+ 84
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 4,
+ 2,
+ 14
+ ],
+ type: "INT16"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 0,
- 0,
- 0,
- 0
- ],
- stride: [
- 1,
- 1
- ],
- dilation: [
- 1,
- 1
- ],
- input_zp: 0,
- weight_zp: -113,
- accum_dtype: "INT48"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 4,
- 2,
- 9
- ],
- type: "INT16"
- },
- {
- name: "const-1",
- shape: [
- 14,
- 1,
- 1,
- 9
- ],
- type: "INT8",
- data: [
- 53,
- 190,
- 65,
- 10,
- 110,
- 40,
- 100,
- 122,
- 126,
- 62,
- 24,
- 158,
- 226,
- 249,
- 71,
- 22,
- 240,
- 165,
- 55,
- 238,
- 137,
- 200,
- 97,
- 158,
- 231,
- 3,
- 149,
- 170,
- 112,
- 23,
- 181,
- 171,
- 236,
- 57,
- 58,
- 177,
- 57,
- 101,
- 185,
- 134,
- 117,
- 5,
- 70,
- 209,
- 204,
- 185,
- 183,
- 248,
- 155,
- 87,
- 2,
- 106,
- 0,
- 205,
- 3,
- 167,
- 82,
- 56,
- 165,
- 20,
- 9,
- 179,
- 159,
- 66,
- 195,
- 4,
- 191,
- 39,
- 140,
- 219,
- 12,
- 240,
- 28,
- 174,
- 241,
- 65,
- 213,
- 168,
- 89,
- 71,
- 46,
- 76,
- 71,
- 63,
- 2,
- 132,
- 24,
- 197,
- 69,
- 247,
- 103,
- 24,
- 12,
- 107,
- 249,
- 224,
- 223,
- 96,
- 65,
- 169,
- 254,
- 223,
- 37,
- 141,
- 54,
- 62,
- 186,
- 166,
- 32,
- 193,
- 113,
- 70,
- 116,
- 8,
- 112,
- 131,
- 202,
- 128,
- 45,
- 2,
- 201,
- 206,
- 36,
- 174,
- 3,
- 29
- ]
- },
- {
- name: "const-2",
- shape: [
- 14
- ],
- type: "INT48",
- data: [
- 111,
- 61,
- 7,
- 208,
- 122,
- 186,
- 174,
- 90,
- 68,
- 227,
- 154,
- 23,
- 31,
- 65,
- 198,
- 146,
- 23,
- 225,
- 31,
- 139,
- 161,
- 153,
- 206,
- 175,
- 165,
- 145,
- 4,
- 213,
- 90,
- 163,
- 125,
- 36,
- 128,
- 229,
- 162,
- 188,
- 88,
- 73,
- 184,
- 19,
- 163,
- 135,
- 43,
- 246,
- 152,
- 104,
- 225,
- 206,
- 251,
- 205,
- 168,
- 128,
- 230,
- 102,
- 246,
- 204,
- 245,
- 37,
- 212,
- 84,
- 158,
- 25,
- 97,
- 163,
- 59,
- 223,
- 6,
- 191,
- 255,
- 212,
- 105,
- 19,
- 114,
- 1,
- 166,
- 138,
- 62,
- 17,
- 244,
- 205,
- 179,
- 36,
- 40,
- 84
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 4,
- 2,
- 14
- ],
- type: "INT16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongRank_1x11x3x14x8_i8xi8_acci32_st11_pad0000_dilat11/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongRank_1x11x3x14x8_i8xi8_acci32_st11_pad0000_dilat11/test.json
index a5bf232df..516691469 100644
--- a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongRank_1x11x3x14x8_i8xi8_acci32_st11_pad0000_dilat11/test.json
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongRank_1x11x3x14x8_i8xi8_acci32_st11_pad0000_dilat11/test.json
@@ -5,381 +5,386 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-1"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 0,
+ 0,
+ 0
+ ],
+ stride: [
+ 1,
+ 1
+ ],
+ dilation: [
+ 1,
+ 1
+ ],
+ input_zp: 45,
+ weight_zp: -113,
+ accum_dtype: "INT32"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 11,
+ 3,
+ 14,
+ 8
+ ],
+ type: "INT8"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 15,
+ 1,
+ 1,
+ 14
+ ],
+ type: "INT8",
+ data: [
+ 169,
+ 11,
+ 190,
+ 89,
+ 65,
+ 82,
+ 84,
+ 173,
+ 135,
+ 32,
+ 29,
+ 93,
+ 35,
+ 77,
+ 217,
+ 159,
+ 137,
+ 239,
+ 128,
+ 4,
+ 230,
+ 193,
+ 23,
+ 45,
+ 138,
+ 249,
+ 112,
+ 204,
+ 71,
+ 214,
+ 197,
+ 91,
+ 219,
+ 93,
+ 39,
+ 79,
+ 80,
+ 105,
+ 14,
+ 115,
+ 143,
+ 253,
+ 229,
+ 152,
+ 95,
+ 76,
+ 63,
+ 34,
+ 26,
+ 225,
+ 46,
+ 121,
+ 192,
+ 214,
+ 155,
+ 104,
+ 7,
+ 23,
+ 196,
+ 137,
+ 78,
+ 92,
+ 215,
+ 67,
+ 18,
+ 36,
+ 172,
+ 29,
+ 169,
+ 184,
+ 219,
+ 182,
+ 104,
+ 135,
+ 103,
+ 167,
+ 94,
+ 214,
+ 107,
+ 10,
+ 253,
+ 161,
+ 238,
+ 14,
+ 123,
+ 195,
+ 149,
+ 193,
+ 190,
+ 114,
+ 166,
+ 126,
+ 156,
+ 79,
+ 234,
+ 141,
+ 29,
+ 58,
+ 86,
+ 173,
+ 30,
+ 17,
+ 241,
+ 100,
+ 236,
+ 225,
+ 6,
+ 109,
+ 94,
+ 53,
+ 148,
+ 205,
+ 131,
+ 152,
+ 84,
+ 80,
+ 154,
+ 245,
+ 199,
+ 146,
+ 225,
+ 154,
+ 60,
+ 119,
+ 236,
+ 190,
+ 255,
+ 119,
+ 168,
+ 46,
+ 151,
+ 204,
+ 240,
+ 226,
+ 173,
+ 70,
+ 44,
+ 239,
+ 235,
+ 147,
+ 41,
+ 186,
+ 205,
+ 92,
+ 36,
+ 50,
+ 195,
+ 0,
+ 131,
+ 190,
+ 76,
+ 249,
+ 34,
+ 73,
+ 111,
+ 148,
+ 20,
+ 126,
+ 179,
+ 92,
+ 20,
+ 209,
+ 72,
+ 94,
+ 164,
+ 46,
+ 111,
+ 42,
+ 12,
+ 163,
+ 243,
+ 103,
+ 76,
+ 243,
+ 207,
+ 77,
+ 119,
+ 204,
+ 79,
+ 206,
+ 83,
+ 118,
+ 41,
+ 255,
+ 208,
+ 143,
+ 141,
+ 85,
+ 41,
+ 186,
+ 13,
+ 96,
+ 37,
+ 106,
+ 158,
+ 146,
+ 42,
+ 21,
+ 48,
+ 123,
+ 155,
+ 110,
+ 143,
+ 6,
+ 84,
+ 46,
+ 184,
+ 26,
+ 102,
+ 180
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 15
+ ],
+ type: "INT32",
+ data: [
+ 87,
+ 36,
+ 254,
+ 111,
+ 90,
+ 217,
+ 42,
+ 39,
+ 171,
+ 207,
+ 51,
+ 150,
+ 152,
+ 189,
+ 72,
+ 213,
+ 108,
+ 87,
+ 178,
+ 92,
+ 14,
+ 84,
+ 133,
+ 214,
+ 197,
+ 152,
+ 92,
+ 114,
+ 23,
+ 88,
+ 132,
+ 235,
+ 147,
+ 237,
+ 187,
+ 215,
+ 164,
+ 67,
+ 40,
+ 90,
+ 118,
+ 5,
+ 23,
+ 73,
+ 102,
+ 59,
+ 4,
+ 189,
+ 107,
+ 128,
+ 237,
+ 71,
+ 246,
+ 225,
+ 51,
+ 192,
+ 215,
+ 128,
+ 70,
+ 101
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 11,
+ 3,
+ 15
+ ],
+ type: "INT32"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 0,
- 0,
- 0,
- 0
- ],
- stride: [
- 1,
- 1
- ],
- dilation: [
- 1,
- 1
- ],
- input_zp: 45,
- weight_zp: -113,
- accum_dtype: "INT32"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 11,
- 3,
- 14,
- 8
- ],
- type: "INT8"
- },
- {
- name: "const-1",
- shape: [
- 15,
- 1,
- 1,
- 14
- ],
- type: "INT8",
- data: [
- 169,
- 11,
- 190,
- 89,
- 65,
- 82,
- 84,
- 173,
- 135,
- 32,
- 29,
- 93,
- 35,
- 77,
- 217,
- 159,
- 137,
- 239,
- 128,
- 4,
- 230,
- 193,
- 23,
- 45,
- 138,
- 249,
- 112,
- 204,
- 71,
- 214,
- 197,
- 91,
- 219,
- 93,
- 39,
- 79,
- 80,
- 105,
- 14,
- 115,
- 143,
- 253,
- 229,
- 152,
- 95,
- 76,
- 63,
- 34,
- 26,
- 225,
- 46,
- 121,
- 192,
- 214,
- 155,
- 104,
- 7,
- 23,
- 196,
- 137,
- 78,
- 92,
- 215,
- 67,
- 18,
- 36,
- 172,
- 29,
- 169,
- 184,
- 219,
- 182,
- 104,
- 135,
- 103,
- 167,
- 94,
- 214,
- 107,
- 10,
- 253,
- 161,
- 238,
- 14,
- 123,
- 195,
- 149,
- 193,
- 190,
- 114,
- 166,
- 126,
- 156,
- 79,
- 234,
- 141,
- 29,
- 58,
- 86,
- 173,
- 30,
- 17,
- 241,
- 100,
- 236,
- 225,
- 6,
- 109,
- 94,
- 53,
- 148,
- 205,
- 131,
- 152,
- 84,
- 80,
- 154,
- 245,
- 199,
- 146,
- 225,
- 154,
- 60,
- 119,
- 236,
- 190,
- 255,
- 119,
- 168,
- 46,
- 151,
- 204,
- 240,
- 226,
- 173,
- 70,
- 44,
- 239,
- 235,
- 147,
- 41,
- 186,
- 205,
- 92,
- 36,
- 50,
- 195,
- 0,
- 131,
- 190,
- 76,
- 249,
- 34,
- 73,
- 111,
- 148,
- 20,
- 126,
- 179,
- 92,
- 20,
- 209,
- 72,
- 94,
- 164,
- 46,
- 111,
- 42,
- 12,
- 163,
- 243,
- 103,
- 76,
- 243,
- 207,
- 77,
- 119,
- 204,
- 79,
- 206,
- 83,
- 118,
- 41,
- 255,
- 208,
- 143,
- 141,
- 85,
- 41,
- 186,
- 13,
- 96,
- 37,
- 106,
- 158,
- 146,
- 42,
- 21,
- 48,
- 123,
- 155,
- 110,
- 143,
- 6,
- 84,
- 46,
- 184,
- 26,
- 102,
- 180
- ]
- },
- {
- name: "const-2",
- shape: [
- 15
- ],
- type: "INT32",
- data: [
- 87,
- 36,
- 254,
- 111,
- 90,
- 217,
- 42,
- 39,
- 171,
- 207,
- 51,
- 150,
- 152,
- 189,
- 72,
- 213,
- 108,
- 87,
- 178,
- 92,
- 14,
- 84,
- 133,
- 214,
- 197,
- 152,
- 92,
- 114,
- 23,
- 88,
- 132,
- 235,
- 147,
- 237,
- 187,
- 215,
- 164,
- 67,
- 40,
- 90,
- 118,
- 5,
- 23,
- 73,
- 102,
- 59,
- 4,
- 189,
- 107,
- 128,
- 237,
- 71,
- 246,
- 225,
- 51,
- 192,
- 215,
- 128,
- 70,
- 101
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 11,
- 3,
- 15
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]