aboutsummaryrefslogtreecommitdiff
path: root/operators/tensor/conv3d_2x1x1
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/conv3d_2x1x1
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/conv3d_2x1x1')
-rw-r--r--operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x11x12x3_i16xi8_acci48_st121_pad010010_dilat122/test.json227
-rw-r--r--operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x11x12x3_i16xi8_acci48_st211_pad090900_dilat112/test.json227
-rw-r--r--operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x11x12x3_i16xi8_acci48_st211_pad900099_dilat771/test.json227
-rw-r--r--operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x11x12x3_i16xi8_acci48_st811_pad990909_dilat222/test.json227
-rw-r--r--operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x21x14x1_i16xi8_acci48_st211_pad010100_dilat117/test.json219
-rw-r--r--operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x21x14x1_i8xi4_acci32_st112_pad010001_dilat171/test.json213
-rw-r--r--operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x21x14x1_i8xi8_acci32_st111_pad110000_dilat222/test.json215
7 files changed, 795 insertions, 760 deletions
diff --git a/operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x11x12x3_i16xi8_acci48_st121_pad010010_dilat122/test.json b/operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x11x12x3_i16xi8_acci48_st121_pad010010_dilat122/test.json
index ce2bc0a86..195b52456 100644
--- a/operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x11x12x3_i16xi8_acci48_st121_pad010010_dilat122/test.json
+++ b/operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x11x12x3_i16xi8_acci48_st121_pad010010_dilat122/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: "CONV3D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0
+ ],
+ stride: [
+ 1,
+ 2,
+ 1
+ ],
+ dilation: [
+ 1,
+ 2,
+ 2
+ ],
+ input_zp: 0,
+ weight_zp: -100,
+ accum_dtype: "INT48"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 9,
+ 11,
+ 12,
+ 3
+ ],
+ type: "INT16"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 2,
+ 1,
+ 1,
+ 3
+ ],
+ type: "INT8",
+ data: [
+ 235,
+ 50,
+ 94,
+ 251,
+ 94,
+ 115
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT48",
+ data: [
+ 25,
+ 108,
+ 119,
+ 132,
+ 176,
+ 153
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 9,
+ 6,
+ 13,
+ 1
+ ],
+ type: "INT48"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV3D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 0,
- 1,
- 0,
- 0,
- 1,
- 0
- ],
- stride: [
- 1,
- 2,
- 1
- ],
- dilation: [
- 1,
- 2,
- 2
- ],
- input_zp: 0,
- weight_zp: -100,
- accum_dtype: "INT48"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 9,
- 11,
- 12,
- 3
- ],
- type: "INT16"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 2,
- 1,
- 1,
- 3
- ],
- type: "INT8",
- data: [
- 235,
- 50,
- 94,
- 251,
- 94,
- 115
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT48",
- data: [
- 25,
- 108,
- 119,
- 132,
- 176,
- 153
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 9,
- 6,
- 13,
- 1
- ],
- type: "INT48"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x11x12x3_i16xi8_acci48_st211_pad090900_dilat112/test.json b/operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x11x12x3_i16xi8_acci48_st211_pad090900_dilat112/test.json
index 2aea1faae..3616cbb0a 100644
--- a/operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x11x12x3_i16xi8_acci48_st211_pad090900_dilat112/test.json
+++ b/operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x11x12x3_i16xi8_acci48_st211_pad090900_dilat112/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: "CONV3D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 9,
+ 0,
+ 9,
+ 0,
+ 0
+ ],
+ stride: [
+ 2,
+ 1,
+ 1
+ ],
+ dilation: [
+ 1,
+ 1,
+ 2
+ ],
+ input_zp: 0,
+ weight_zp: -71,
+ accum_dtype: "INT48"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 9,
+ 11,
+ 12,
+ 3
+ ],
+ type: "INT16"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 2,
+ 1,
+ 1,
+ 3
+ ],
+ type: "INT8",
+ data: [
+ 204,
+ 207,
+ 14,
+ 6,
+ 175,
+ 45
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT48",
+ data: [
+ 78,
+ 138,
+ 157,
+ 229,
+ 80,
+ 0
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 9,
+ 20,
+ 12,
+ 1
+ ],
+ type: "INT48"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV3D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 0,
- 9,
- 0,
- 9,
- 0,
- 0
- ],
- stride: [
- 2,
- 1,
- 1
- ],
- dilation: [
- 1,
- 1,
- 2
- ],
- input_zp: 0,
- weight_zp: -71,
- accum_dtype: "INT48"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 9,
- 11,
- 12,
- 3
- ],
- type: "INT16"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 2,
- 1,
- 1,
- 3
- ],
- type: "INT8",
- data: [
- 204,
- 207,
- 14,
- 6,
- 175,
- 45
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT48",
- data: [
- 78,
- 138,
- 157,
- 229,
- 80,
- 0
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 9,
- 20,
- 12,
- 1
- ],
- type: "INT48"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x11x12x3_i16xi8_acci48_st211_pad900099_dilat771/test.json b/operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x11x12x3_i16xi8_acci48_st211_pad900099_dilat771/test.json
index db5e4ff5a..47de10fcc 100644
--- a/operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x11x12x3_i16xi8_acci48_st211_pad900099_dilat771/test.json
+++ b/operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x11x12x3_i16xi8_acci48_st211_pad900099_dilat771/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: "CONV3D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 9,
+ 0,
+ 0,
+ 0,
+ 9,
+ 9
+ ],
+ stride: [
+ 2,
+ 1,
+ 1
+ ],
+ dilation: [
+ 7,
+ 7,
+ 1
+ ],
+ input_zp: 0,
+ weight_zp: -71,
+ accum_dtype: "INT48"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 9,
+ 11,
+ 12,
+ 3
+ ],
+ type: "INT16"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 2,
+ 1,
+ 1,
+ 3
+ ],
+ type: "INT8",
+ data: [
+ 66,
+ 247,
+ 133,
+ 21,
+ 212,
+ 129
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT48",
+ data: [
+ 198,
+ 35,
+ 12,
+ 150,
+ 58,
+ 115
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 6,
+ 11,
+ 30,
+ 1
+ ],
+ type: "INT48"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV3D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 9,
- 0,
- 0,
- 0,
- 9,
- 9
- ],
- stride: [
- 2,
- 1,
- 1
- ],
- dilation: [
- 7,
- 7,
- 1
- ],
- input_zp: 0,
- weight_zp: -71,
- accum_dtype: "INT48"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 9,
- 11,
- 12,
- 3
- ],
- type: "INT16"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 2,
- 1,
- 1,
- 3
- ],
- type: "INT8",
- data: [
- 66,
- 247,
- 133,
- 21,
- 212,
- 129
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT48",
- data: [
- 198,
- 35,
- 12,
- 150,
- 58,
- 115
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 6,
- 11,
- 30,
- 1
- ],
- type: "INT48"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x11x12x3_i16xi8_acci48_st811_pad990909_dilat222/test.json b/operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x11x12x3_i16xi8_acci48_st811_pad990909_dilat222/test.json
index 40b83a89a..821353418 100644
--- a/operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x11x12x3_i16xi8_acci48_st811_pad990909_dilat222/test.json
+++ b/operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x11x12x3_i16xi8_acci48_st811_pad990909_dilat222/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: "CONV3D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 9,
+ 9,
+ 0,
+ 9,
+ 0,
+ 9
+ ],
+ stride: [
+ 8,
+ 1,
+ 1
+ ],
+ dilation: [
+ 2,
+ 2,
+ 2
+ ],
+ input_zp: 0,
+ weight_zp: -93,
+ accum_dtype: "INT48"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 9,
+ 11,
+ 12,
+ 3
+ ],
+ type: "INT16"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 2,
+ 1,
+ 1,
+ 3
+ ],
+ type: "INT8",
+ data: [
+ 122,
+ 238,
+ 158,
+ 189,
+ 152,
+ 41
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT48",
+ data: [
+ 153,
+ 166,
+ 146,
+ 166,
+ 0,
+ 72
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 4,
+ 20,
+ 21,
+ 1
+ ],
+ type: "INT48"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV3D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 9,
- 9,
- 0,
- 9,
- 0,
- 9
- ],
- stride: [
- 8,
- 1,
- 1
- ],
- dilation: [
- 2,
- 2,
- 2
- ],
- input_zp: 0,
- weight_zp: -93,
- accum_dtype: "INT48"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 9,
- 11,
- 12,
- 3
- ],
- type: "INT16"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 2,
- 1,
- 1,
- 3
- ],
- type: "INT8",
- data: [
- 122,
- 238,
- 158,
- 189,
- 152,
- 41
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT48",
- data: [
- 153,
- 166,
- 146,
- 166,
- 0,
- 72
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 4,
- 20,
- 21,
- 1
- ],
- type: "INT48"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x21x14x1_i16xi8_acci48_st211_pad010100_dilat117/test.json b/operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x21x14x1_i16xi8_acci48_st211_pad010100_dilat117/test.json
index cf9954e93..9f8ffeb64 100644
--- a/operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x21x14x1_i16xi8_acci48_st211_pad010100_dilat117/test.json
+++ b/operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x21x14x1_i16xi8_acci48_st211_pad010100_dilat117/test.json
@@ -5,125 +5,130 @@
_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: "CONV3D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 1,
+ 0,
+ 1,
+ 0,
+ 0
+ ],
+ stride: [
+ 2,
+ 1,
+ 1
+ ],
+ dilation: [
+ 1,
+ 1,
+ 7
+ ],
+ input_zp: 0,
+ weight_zp: -23,
+ accum_dtype: "INT48"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 9,
+ 21,
+ 14,
+ 1
+ ],
+ type: "INT16"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 2,
+ 1,
+ 1,
+ 1
+ ],
+ type: "INT8",
+ data: [
+ 33,
+ 107
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT48",
+ data: [
+ 235,
+ 252,
+ 84,
+ 198,
+ 67,
+ 205
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 5,
+ 22,
+ 14,
+ 1
+ ],
+ type: "INT48"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV3D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 0,
- 1,
- 0,
- 1,
- 0,
- 0
- ],
- stride: [
- 2,
- 1,
- 1
- ],
- dilation: [
- 1,
- 1,
- 7
- ],
- input_zp: 0,
- weight_zp: -23,
- accum_dtype: "INT48"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 9,
- 21,
- 14,
- 1
- ],
- type: "INT16"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 2,
- 1,
- 1,
- 1
- ],
- type: "INT8",
- data: [
- 33,
- 107
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT48",
- data: [
- 235,
- 252,
- 84,
- 198,
- 67,
- 205
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 5,
- 22,
- 14,
- 1
- ],
- type: "INT48"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x21x14x1_i8xi4_acci32_st112_pad010001_dilat171/test.json b/operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x21x14x1_i8xi4_acci32_st112_pad010001_dilat171/test.json
index 43c65fb6f..ba21d8469 100644
--- a/operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x21x14x1_i8xi4_acci32_st112_pad010001_dilat171/test.json
+++ b/operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x21x14x1_i8xi4_acci32_st112_pad010001_dilat171/test.json
@@ -5,122 +5,127 @@
_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: "CONV3D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 1
+ ],
+ stride: [
+ 1,
+ 1,
+ 2
+ ],
+ dilation: [
+ 1,
+ 7,
+ 1
+ ],
+ input_zp: -116,
+ weight_zp: 0,
+ accum_dtype: "INT32"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 9,
+ 21,
+ 14,
+ 1
+ ],
+ type: "INT8"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 2,
+ 1,
+ 1,
+ 1
+ ],
+ type: "INT4",
+ data: [
+ 246
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT32",
+ data: [
+ 134,
+ 226,
+ 6,
+ 147
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 9,
+ 21,
+ 8,
+ 1
+ ],
+ type: "INT32"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV3D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 0,
- 1,
- 0,
- 0,
- 0,
- 1
- ],
- stride: [
- 1,
- 1,
- 2
- ],
- dilation: [
- 1,
- 7,
- 1
- ],
- input_zp: -116,
- weight_zp: 0,
- accum_dtype: "INT32"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 9,
- 21,
- 14,
- 1
- ],
- type: "INT8"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 2,
- 1,
- 1,
- 1
- ],
- type: "INT4",
- data: [
- 246
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT32",
- data: [
- 134,
- 226,
- 6,
- 147
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 9,
- 21,
- 8,
- 1
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x21x14x1_i8xi8_acci32_st111_pad110000_dilat222/test.json b/operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x21x14x1_i8xi8_acci32_st111_pad110000_dilat222/test.json
index fe3d5dd76..61b085cc7 100644
--- a/operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x21x14x1_i8xi8_acci32_st111_pad110000_dilat222/test.json
+++ b/operators/tensor/conv3d_2x1x1/conv3d_2x1x1_1x9x21x14x1_i8xi8_acci32_st111_pad110000_dilat222/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: "CONV3D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 1,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0
+ ],
+ stride: [
+ 1,
+ 1,
+ 1
+ ],
+ dilation: [
+ 2,
+ 2,
+ 2
+ ],
+ input_zp: -38,
+ weight_zp: -104,
+ accum_dtype: "INT32"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 9,
+ 21,
+ 14,
+ 1
+ ],
+ type: "INT8"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 2,
+ 1,
+ 1,
+ 1
+ ],
+ type: "INT8",
+ data: [
+ 201,
+ 97
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT32",
+ data: [
+ 61,
+ 26,
+ 94,
+ 89
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 9,
+ 21,
+ 14,
+ 1
+ ],
+ type: "INT32"
+ }
],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONV3D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 1,
- 1,
- 0,
- 0,
- 0,
- 0
- ],
- stride: [
- 1,
- 1,
- 1
- ],
- dilation: [
- 2,
- 2,
- 2
- ],
- input_zp: -38,
- weight_zp: -104,
- accum_dtype: "INT32"
- },
inputs: [
- "input-0",
- "const-1",
- "const-2"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 9,
- 21,
- 14,
- 1
- ],
- type: "INT8"
- },
- {
- name: "const-1",
- shape: [
- 1,
- 2,
- 1,
- 1,
- 1
- ],
- type: "INT8",
- data: [
- 201,
- 97
- ]
- },
- {
- name: "const-2",
- shape: [
- 1
- ],
- type: "INT32",
- data: [
- 61,
- 26,
- 94,
- 89
- ]
- },
- {
- name: "result-0",
- shape: [
- 1,
- 9,
- 21,
- 14,
- 1
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]