aboutsummaryrefslogtreecommitdiff
path: root/operators/tensor/conv2d_3x3
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_3x3
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_3x3')
-rw-r--r--operators/tensor/conv2d_3x3/conv2d_3x3_1x11x44x13_i16xi8_acci48_st11_pad0000_dilat11/test.json435
-rw-r--r--operators/tensor/conv2d_3x3/conv2d_3x3_1x49x42x28_i8xi4_acci32_st21_pad0090_dilat21/test.json449
-rw-r--r--operators/tensor/conv2d_3x3/conv2d_3x3_1x5x65536x1_i8xi4_acci32_st11_pad0000_dilat11/test.json207
-rw-r--r--operators/tensor/conv2d_3x3/conv2d_3x3_1x5x65536x1_i8xi8_acci32_st11_pad1101_dilat11/test.json215
-rw-r--r--operators/tensor/conv2d_3x3/conv2d_3x3_1x65535x4x1_i8xi4_acci32_st11_pad1100_dilat11/test.json207
-rw-r--r--operators/tensor/conv2d_3x3/conv2d_3x3_1x65535x4x1_i8xi4_acci32_st81_pad0010_dilat71/test.json207
6 files changed, 875 insertions, 845 deletions
diff --git a/operators/tensor/conv2d_3x3/conv2d_3x3_1x11x44x13_i16xi8_acci48_st11_pad0000_dilat11/test.json b/operators/tensor/conv2d_3x3/conv2d_3x3_1x11x44x13_i16xi8_acci48_st11_pad0000_dilat11/test.json
index a2aa235fd..356c1a45f 100644
--- a/operators/tensor/conv2d_3x3/conv2d_3x3_1x11x44x13_i16xi8_acci48_st11_pad0000_dilat11/test.json
+++ b/operators/tensor/conv2d_3x3/conv2d_3x3_1x11x44x13_i16xi8_acci48_st11_pad0000_dilat11/test.json
@@ -5,233 +5,238 @@
_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: -90,
+ 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,
+ 3,
+ 3,
+ 13
+ ],
+ type: "INT8",
+ data: [
+ 139,
+ 174,
+ 70,
+ 209,
+ 137,
+ 106,
+ 195,
+ 171,
+ 143,
+ 185,
+ 228,
+ 154,
+ 32,
+ 222,
+ 157,
+ 76,
+ 123,
+ 10,
+ 173,
+ 192,
+ 241,
+ 100,
+ 245,
+ 138,
+ 228,
+ 50,
+ 123,
+ 186,
+ 109,
+ 54,
+ 128,
+ 93,
+ 192,
+ 68,
+ 64,
+ 180,
+ 27,
+ 155,
+ 27,
+ 0,
+ 195,
+ 2,
+ 128,
+ 81,
+ 241,
+ 125,
+ 92,
+ 194,
+ 207,
+ 130,
+ 197,
+ 143,
+ 62,
+ 142,
+ 182,
+ 63,
+ 202,
+ 148,
+ 236,
+ 246,
+ 95,
+ 185,
+ 214,
+ 219,
+ 96,
+ 219,
+ 35,
+ 78,
+ 204,
+ 137,
+ 81,
+ 202,
+ 44,
+ 188,
+ 223,
+ 143,
+ 240,
+ 209,
+ 207,
+ 94,
+ 203,
+ 81,
+ 205,
+ 74,
+ 5,
+ 134,
+ 195,
+ 136,
+ 97,
+ 213,
+ 226,
+ 70,
+ 118,
+ 163,
+ 147,
+ 25,
+ 29,
+ 203,
+ 160,
+ 206,
+ 70,
+ 163,
+ 36,
+ 244,
+ 175,
+ 187,
+ 237,
+ 101,
+ 22,
+ 230,
+ 118,
+ 0,
+ 249,
+ 73,
+ 126,
+ 242,
+ 212
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT48",
+ data: [
+ 80,
+ 131,
+ 209,
+ 145,
+ 202,
+ 109
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 9,
+ 42,
+ 1
+ ],
+ type: "INT48"
+ }
],
- 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: -90,
- 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,
- 3,
- 3,
- 13
- ],
- type: "INT8",
- data: [
- 139,
- 174,
- 70,
- 209,
- 137,
- 106,
- 195,
- 171,
- 143,
- 185,
- 228,
- 154,
- 32,
- 222,
- 157,
- 76,
- 123,
- 10,
- 173,
- 192,
- 241,
- 100,
- 245,
- 138,
- 228,
- 50,
- 123,
- 186,
- 109,
- 54,
- 128,
- 93,
- 192,
- 68,
- 64,
- 180,
- 27,
- 155,
- 27,
- 0,
- 195,
- 2,
- 128,
- 81,
- 241,
- 125,
- 92,
- 194,
- 207,
- 130,
- 197,
- 143,
- 62,
- 142,
- 182,
- 63,
- 202,
- 148,
- 236,
- 246,
- 95,
- 185,
- 214,
- 219,
- 96,
- 219,
- 35,
- 78,
- 204,
- 137,
- 81,
- 202,
- 44,
- 188,
- 223,
- 143,
- 240,
- 209,
- 207,
- 94,
- 203,
- 81,
- 205,
- 74,
- 5,
- 134,
- 195,
- 136,
- 97,
- 213,
- 226,
- 70,
- 118,
- 163,
- 147,
- 25,
- 29,
- 203,
- 160,
- 206,
- 70,
- 163,
- 36,
- 244,
- 175,
- 187,
- 237,
- 101,
- 22,
- 230,
- 118,
- 0,
- 249,
- 73,
- 126,
- 242,
- 212
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT48",
- data: [
- 80,
- 131,
- 209,
- 145,
- 202,
- 109
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 9,
- 42,
- 1
- ],
- type: "INT48"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_3x3/conv2d_3x3_1x49x42x28_i8xi4_acci32_st21_pad0090_dilat21/test.json b/operators/tensor/conv2d_3x3/conv2d_3x3_1x49x42x28_i8xi4_acci32_st21_pad0090_dilat21/test.json
index 62cca29b7..108fbe37f 100644
--- a/operators/tensor/conv2d_3x3/conv2d_3x3_1x49x42x28_i8xi4_acci32_st21_pad0090_dilat21/test.json
+++ b/operators/tensor/conv2d_3x3/conv2d_3x3_1x49x42x28_i8xi4_acci32_st21_pad0090_dilat21/test.json
@@ -5,240 +5,245 @@
_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: -11,
+ 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,
+ 3,
+ 3,
+ 28
+ ],
+ type: "INT4",
+ data: [
+ 81,
+ 73,
+ 77,
+ 185,
+ 177,
+ 61,
+ 195,
+ 49,
+ 169,
+ 14,
+ 182,
+ 18,
+ 201,
+ 155,
+ 3,
+ 23,
+ 37,
+ 34,
+ 209,
+ 63,
+ 30,
+ 156,
+ 166,
+ 4,
+ 1,
+ 237,
+ 93,
+ 84,
+ 109,
+ 98,
+ 84,
+ 158,
+ 227,
+ 44,
+ 58,
+ 90,
+ 149,
+ 214,
+ 69,
+ 150,
+ 106,
+ 41,
+ 69,
+ 70,
+ 145,
+ 90,
+ 11,
+ 112,
+ 234,
+ 126,
+ 43,
+ 249,
+ 238,
+ 29,
+ 116,
+ 161,
+ 71,
+ 220,
+ 53,
+ 114,
+ 217,
+ 66,
+ 213,
+ 67,
+ 243,
+ 124,
+ 218,
+ 79,
+ 227,
+ 238,
+ 211,
+ 219,
+ 79,
+ 243,
+ 180,
+ 194,
+ 222,
+ 4,
+ 156,
+ 162,
+ 61,
+ 10,
+ 155,
+ 151,
+ 105,
+ 82,
+ 155,
+ 164,
+ 238,
+ 122,
+ 58,
+ 33,
+ 42,
+ 126,
+ 61,
+ 31,
+ 179,
+ 38,
+ 159,
+ 126,
+ 160,
+ 50,
+ 74,
+ 76,
+ 237,
+ 207,
+ 180,
+ 149,
+ 230,
+ 147,
+ 37,
+ 7,
+ 70,
+ 102,
+ 162,
+ 178,
+ 252,
+ 166,
+ 23,
+ 241,
+ 100,
+ 196,
+ 73,
+ 125,
+ 96,
+ 19
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT32",
+ data: [
+ 152,
+ 73,
+ 9,
+ 52
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 23,
+ 49,
+ 1
+ ],
+ type: "INT32"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 0,
- 0,
- 9,
- 0
- ],
- stride: [
- 2,
- 1
- ],
- dilation: [
- 2,
- 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,
- 49,
- 42,
- 28
- ],
- type: "INT8"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 3,
- 3,
- 28
- ],
- type: "INT4",
- data: [
- 81,
- 73,
- 77,
- 185,
- 177,
- 61,
- 195,
- 49,
- 169,
- 14,
- 182,
- 18,
- 201,
- 155,
- 3,
- 23,
- 37,
- 34,
- 209,
- 63,
- 30,
- 156,
- 166,
- 4,
- 1,
- 237,
- 93,
- 84,
- 109,
- 98,
- 84,
- 158,
- 227,
- 44,
- 58,
- 90,
- 149,
- 214,
- 69,
- 150,
- 106,
- 41,
- 69,
- 70,
- 145,
- 90,
- 11,
- 112,
- 234,
- 126,
- 43,
- 249,
- 238,
- 29,
- 116,
- 161,
- 71,
- 220,
- 53,
- 114,
- 217,
- 66,
- 213,
- 67,
- 243,
- 124,
- 218,
- 79,
- 227,
- 238,
- 211,
- 219,
- 79,
- 243,
- 180,
- 194,
- 222,
- 4,
- 156,
- 162,
- 61,
- 10,
- 155,
- 151,
- 105,
- 82,
- 155,
- 164,
- 238,
- 122,
- 58,
- 33,
- 42,
- 126,
- 61,
- 31,
- 179,
- 38,
- 159,
- 126,
- 160,
- 50,
- 74,
- 76,
- 237,
- 207,
- 180,
- 149,
- 230,
- 147,
- 37,
- 7,
- 70,
- 102,
- 162,
- 178,
- 252,
- 166,
- 23,
- 241,
- 100,
- 196,
- 73,
- 125,
- 96,
- 19
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT32",
- data: [
- 152,
- 73,
- 9,
- 52
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 23,
- 49,
- 1
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_3x3/conv2d_3x3_1x5x65536x1_i8xi4_acci32_st11_pad0000_dilat11/test.json b/operators/tensor/conv2d_3x3/conv2d_3x3_1x5x65536x1_i8xi4_acci32_st11_pad0000_dilat11/test.json
index aab68f7b8..29ae37ced 100644
--- a/operators/tensor/conv2d_3x3/conv2d_3x3_1x5x65536x1_i8xi4_acci32_st11_pad0000_dilat11/test.json
+++ b/operators/tensor/conv2d_3x3/conv2d_3x3_1x5x65536x1_i8xi4_acci32_st11_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: [
+ 1,
+ 1
+ ],
+ dilation: [
+ 1,
+ 1
+ ],
+ input_zp: 126,
+ 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,
+ 3,
+ 3,
+ 1
+ ],
+ type: "INT4",
+ data: [
+ 103,
+ 68,
+ 255,
+ 37,
+ 5
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT32",
+ data: [
+ 14,
+ 231,
+ 253,
+ 22
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 3,
+ 65534,
+ 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: 126,
- 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,
- 3,
- 3,
- 1
- ],
- type: "INT4",
- data: [
- 103,
- 68,
- 255,
- 37,
- 5
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT32",
- data: [
- 14,
- 231,
- 253,
- 22
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 3,
- 65534,
- 1
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_3x3/conv2d_3x3_1x5x65536x1_i8xi8_acci32_st11_pad1101_dilat11/test.json b/operators/tensor/conv2d_3x3/conv2d_3x3_1x5x65536x1_i8xi8_acci32_st11_pad1101_dilat11/test.json
index 0f35d16d5..681e75460 100644
--- a/operators/tensor/conv2d_3x3/conv2d_3x3_1x5x65536x1_i8xi8_acci32_st11_pad1101_dilat11/test.json
+++ b/operators/tensor/conv2d_3x3/conv2d_3x3_1x5x65536x1_i8xi8_acci32_st11_pad1101_dilat11/test.json
@@ -5,123 +5,128 @@
_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,
+ 1
+ ],
+ dilation: [
+ 1,
+ 1
+ ],
+ input_zp: -105,
+ weight_zp: 38,
+ 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,
+ 3,
+ 3,
+ 1
+ ],
+ type: "INT8",
+ data: [
+ 75,
+ 115,
+ 37,
+ 217,
+ 218,
+ 9,
+ 38,
+ 172,
+ 102
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT32",
+ data: [
+ 13,
+ 144,
+ 76,
+ 149
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 5,
+ 65535,
+ 1
+ ],
+ type: "INT32"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 1,
- 1,
- 0,
- 1
- ],
- stride: [
- 1,
- 1
- ],
- dilation: [
- 1,
- 1
- ],
- input_zp: -105,
- weight_zp: 38,
- 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,
- 3,
- 3,
- 1
- ],
- type: "INT8",
- data: [
- 75,
- 115,
- 37,
- 217,
- 218,
- 9,
- 38,
- 172,
- 102
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT32",
- data: [
- 13,
- 144,
- 76,
- 149
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 5,
- 65535,
- 1
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_3x3/conv2d_3x3_1x65535x4x1_i8xi4_acci32_st11_pad1100_dilat11/test.json b/operators/tensor/conv2d_3x3/conv2d_3x3_1x65535x4x1_i8xi4_acci32_st11_pad1100_dilat11/test.json
index 15e17bb3e..7e231aa67 100644
--- a/operators/tensor/conv2d_3x3/conv2d_3x3_1x65535x4x1_i8xi4_acci32_st11_pad1100_dilat11/test.json
+++ b/operators/tensor/conv2d_3x3/conv2d_3x3_1x65535x4x1_i8xi4_acci32_st11_pad1100_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: [
+ 1,
+ 1,
+ 0,
+ 0
+ ],
+ stride: [
+ 1,
+ 1
+ ],
+ dilation: [
+ 1,
+ 1
+ ],
+ input_zp: 112,
+ 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,
+ 3,
+ 3,
+ 1
+ ],
+ type: "INT4",
+ data: [
+ 177,
+ 90,
+ 17,
+ 229,
+ 5
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT32",
+ data: [
+ 184,
+ 113,
+ 149,
+ 76
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 65535,
+ 2,
+ 1
+ ],
+ type: "INT32"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 1,
- 1,
- 0,
- 0
- ],
- stride: [
- 1,
- 1
- ],
- dilation: [
- 1,
- 1
- ],
- input_zp: 112,
- 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,
- 3,
- 3,
- 1
- ],
- type: "INT4",
- data: [
- 177,
- 90,
- 17,
- 229,
- 5
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT32",
- data: [
- 184,
- 113,
- 149,
- 76
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 65535,
- 2,
- 1
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv2d_3x3/conv2d_3x3_1x65535x4x1_i8xi4_acci32_st81_pad0010_dilat71/test.json b/operators/tensor/conv2d_3x3/conv2d_3x3_1x65535x4x1_i8xi4_acci32_st81_pad0010_dilat71/test.json
index 9012cb3bd..e5e24f796 100644
--- a/operators/tensor/conv2d_3x3/conv2d_3x3_1x65535x4x1_i8xi4_acci32_st81_pad0010_dilat71/test.json
+++ b/operators/tensor/conv2d_3x3/conv2d_3x3_1x65535x4x1_i8xi4_acci32_st81_pad0010_dilat71/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,
+ 1,
+ 0
+ ],
+ stride: [
+ 8,
+ 1
+ ],
+ dilation: [
+ 7,
+ 1
+ ],
+ input_zp: -117,
+ 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,
+ 3,
+ 3,
+ 1
+ ],
+ type: "INT4",
+ data: [
+ 41,
+ 156,
+ 159,
+ 222,
+ 10
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT32",
+ data: [
+ 251,
+ 73,
+ 90,
+ 243
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 8191,
+ 3,
+ 1
+ ],
+ type: "INT32"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 0,
- 0,
- 1,
- 0
- ],
- stride: [
- 8,
- 1
- ],
- dilation: [
- 7,
- 1
- ],
- input_zp: -117,
- 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,
- 3,
- 3,
- 1
- ],
- type: "INT4",
- data: [
- 41,
- 156,
- 159,
- 222,
- 10
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT32",
- data: [
- 251,
- 73,
- 90,
- 243
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 8191,
- 3,
- 1
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]