From b08fb3e856b7757403ff9aafc9487f9c0ad61fe7 Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Mon, 16 Jan 2023 15:17:52 +0000 Subject: Regen tests after control flow operator support Includes removing 3 tests that are not needed anymore. Signed-off-by: Jeremy Johnson Change-Id: I2c62d95a7b053e9016000d90125e00862f94200e --- .../test.json | 213 ++++--- .../test.json | 213 ++++--- .../test.json | 213 ++++--- .../test.json | 213 ++++--- .../test.json | 213 ++++--- .../test.json | 213 ++++--- .../test.json | 213 ++++--- .../test.json | 213 ++++--- .../test.json | 213 ++++--- .../test.json | 213 ++++--- .../test.json | 213 ++++--- .../test.json | 213 ++++--- .../test.json | 213 ++++--- .../test.json | 213 ++++--- .../test.json | 221 +++---- .../test.json | 221 +++---- .../test.json | 221 +++---- .../test.json | 221 +++---- .../test.json | 221 +++---- .../test.json | 221 +++---- .../test.json | 221 +++---- .../test.json | 221 +++---- .../test.json | 215 ++++--- .../test.json | 217 ++++--- .../test.json | 217 ++++--- .../test.json | 217 ++++--- .../test.json | 217 ++++--- .../test.json | 213 ++++--- .../test.json | 213 ++++--- .../test.json | 263 ++++---- .../test.json | 379 +++++------ .../test.json | 563 ++++++++-------- .../test.json | 539 ++++++++-------- .../test.json | 295 ++++----- .../test.json | 455 ++++++------- .../test.json | 707 +++++++++++---------- .../test.json | 361 +++++------ .../test.json | 331 +++++----- .../test.json | 283 +++++---- .../test.json | 323 +++++----- .../test.json | 541 ++++++++-------- 41 files changed, 5752 insertions(+), 5547 deletions(-) (limited to 'operators/tensor/conv3d_1x1x1') diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x3x65536x1_i8xi4_acci32_st111_pad011001_dilat117/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x3x65536x1_i8xi4_acci32_st111_pad011001_dilat117/test.json index 191b7644f..3c5684832 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x3x65536x1_i8xi4_acci32_st111_pad011001_dilat117/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x3x65536x1_i8xi4_acci32_st111_pad011001_dilat117/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, + 1, + 0, + 0, + 1 + ], + stride: [ + 1, + 1, + 1 + ], + dilation: [ + 1, + 1, + 7 + ], + input_zp: 92, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 3, + 65536, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1, + 1 + ], + type: "INT4", + data: [ + 10 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 98, + 133, + 2, + 211 + ] + }, + { + name: "result-0", + shape: [ + 1, + 2, + 4, + 65537, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 1, - 1, - 0, - 0, - 1 - ], - stride: [ - 1, - 1, - 1 - ], - dilation: [ - 1, - 1, - 7 - ], - input_zp: 92, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 3, - 65536, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1, - 1 - ], - type: "INT4", - data: [ - 10 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 98, - 133, - 2, - 211 - ] - }, - { - name: "result-0", - shape: [ - 1, - 2, - 4, - 65537, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x3x65536x1_i8xi4_acci32_st112_pad110101_dilat171/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x3x65536x1_i8xi4_acci32_st112_pad110101_dilat171/test.json index f2791b015..b700bf1e1 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x3x65536x1_i8xi4_acci32_st112_pad110101_dilat171/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x3x65536x1_i8xi4_acci32_st112_pad110101_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: [ + 1, + 1, + 0, + 1, + 0, + 1 + ], + stride: [ + 1, + 1, + 2 + ], + dilation: [ + 1, + 7, + 1 + ], + input_zp: -34, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 3, + 65536, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1, + 1 + ], + type: "INT4", + data: [ + 13 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 253, + 70, + 230, + 84 + ] + }, + { + name: "result-0", + shape: [ + 1, + 3, + 4, + 32769, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 1, - 1, - 0, - 1, - 0, - 1 - ], - stride: [ - 1, - 1, - 2 - ], - dilation: [ - 1, - 7, - 1 - ], - input_zp: -34, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 3, - 65536, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1, - 1 - ], - type: "INT4", - data: [ - 13 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 253, - 70, - 230, - 84 - ] - }, - { - name: "result-0", - shape: [ - 1, - 3, - 4, - 32769, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x3x65536x1_i8xi4_acci32_st112_pad111101_dilat717/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x3x65536x1_i8xi4_acci32_st112_pad111101_dilat717/test.json index 335ca227e..a9181b993 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x3x65536x1_i8xi4_acci32_st112_pad111101_dilat717/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x3x65536x1_i8xi4_acci32_st112_pad111101_dilat717/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: [ + 1, + 1, + 1, + 1, + 0, + 1 + ], + stride: [ + 1, + 1, + 2 + ], + dilation: [ + 7, + 1, + 7 + ], + 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, + 1, + 3, + 65536, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1, + 1 + ], + type: "INT4", + data: [ + 14 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 204, + 168, + 63, + 8 + ] + }, + { + name: "result-0", + shape: [ + 1, + 3, + 5, + 32769, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 1, - 1, - 1, - 1, - 0, - 1 - ], - stride: [ - 1, - 1, - 2 - ], - dilation: [ - 7, - 1, - 7 - ], - 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, - 1, - 3, - 65536, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1, - 1 - ], - type: "INT4", - data: [ - 14 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 204, - 168, - 63, - 8 - ] - }, - { - name: "result-0", - shape: [ - 1, - 3, - 5, - 32769, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x3x65536x1_i8xi4_acci32_st122_pad101101_dilat711/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x3x65536x1_i8xi4_acci32_st122_pad101101_dilat711/test.json index 72426476a..c54c5f387 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x3x65536x1_i8xi4_acci32_st122_pad101101_dilat711/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x3x65536x1_i8xi4_acci32_st122_pad101101_dilat711/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: [ + 1, + 0, + 1, + 1, + 0, + 1 + ], + stride: [ + 1, + 2, + 2 + ], + dilation: [ + 7, + 1, + 1 + ], + input_zp: -74, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 3, + 65536, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1, + 1 + ], + type: "INT4", + data: [ + 12 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 249, + 150, + 172, + 113 + ] + }, + { + name: "result-0", + shape: [ + 1, + 2, + 3, + 32769, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 1, - 0, - 1, - 1, - 0, - 1 - ], - stride: [ - 1, - 2, - 2 - ], - dilation: [ - 7, - 1, - 1 - ], - input_zp: -74, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 3, - 65536, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1, - 1 - ], - type: "INT4", - data: [ - 12 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 249, - 150, - 172, - 113 - ] - }, - { - name: "result-0", - shape: [ - 1, - 2, - 3, - 32769, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x3x65536x1_i8xi4_acci32_st122_pad111110_dilat171/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x3x65536x1_i8xi4_acci32_st122_pad111110_dilat171/test.json index 3da49c8aa..685c637c1 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x3x65536x1_i8xi4_acci32_st122_pad111110_dilat171/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x3x65536x1_i8xi4_acci32_st122_pad111110_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: [ + 1, + 1, + 1, + 1, + 1, + 0 + ], + stride: [ + 1, + 2, + 2 + ], + dilation: [ + 1, + 7, + 1 + ], + input_zp: -102, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 3, + 65536, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1, + 1 + ], + type: "INT4", + data: [ + 11 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 126, + 46, + 55, + 15 + ] + }, + { + name: "result-0", + shape: [ + 1, + 3, + 3, + 32769, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 1, - 1, - 1, - 1, - 1, - 0 - ], - stride: [ - 1, - 2, - 2 - ], - dilation: [ - 1, - 7, - 1 - ], - input_zp: -102, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 3, - 65536, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1, - 1 - ], - type: "INT4", - data: [ - 11 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 126, - 46, - 55, - 15 - ] - }, - { - name: "result-0", - shape: [ - 1, - 3, - 3, - 32769, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x3x65536x1_i8xi4_acci32_st221_pad111100_dilat711/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x3x65536x1_i8xi4_acci32_st221_pad111100_dilat711/test.json index bc184c699..a18eaf97a 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x3x65536x1_i8xi4_acci32_st221_pad111100_dilat711/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x3x65536x1_i8xi4_acci32_st221_pad111100_dilat711/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: [ + 1, + 1, + 1, + 1, + 0, + 0 + ], + stride: [ + 2, + 2, + 1 + ], + dilation: [ + 7, + 1, + 1 + ], + input_zp: -33, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 3, + 65536, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1, + 1 + ], + type: "INT4", + data: [ + 0 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 232, + 75, + 135, + 221 + ] + }, + { + name: "result-0", + shape: [ + 1, + 2, + 3, + 65536, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 1, - 1, - 1, - 1, - 0, - 0 - ], - stride: [ - 2, - 2, - 1 - ], - dilation: [ - 7, - 1, - 1 - ], - input_zp: -33, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 3, - 65536, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1, - 1 - ], - type: "INT4", - data: [ - 0 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 232, - 75, - 135, - 221 - ] - }, - { - name: "result-0", - shape: [ - 1, - 2, - 3, - 65536, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x3x65536x1_i8xi8_acci32_st118_pad010110_dilat771/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x3x65536x1_i8xi8_acci32_st118_pad010110_dilat771/test.json index dbf393d9f..8258e6e2c 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x3x65536x1_i8xi8_acci32_st118_pad010110_dilat771/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x3x65536x1_i8xi8_acci32_st118_pad010110_dilat771/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, + 1, + 1, + 0 + ], + stride: [ + 1, + 1, + 8 + ], + dilation: [ + 7, + 7, + 1 + ], + input_zp: -63, + weight_zp: 26, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 3, + 65536, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1, + 1 + ], + type: "INT8", + data: [ + 223 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 252, + 59, + 245, + 154 + ] + }, + { + name: "result-0", + shape: [ + 1, + 2, + 4, + 8193, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 1, - 0, - 1, - 1, - 0 - ], - stride: [ - 1, - 1, - 8 - ], - dilation: [ - 7, - 7, - 1 - ], - input_zp: -63, - weight_zp: 26, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 3, - 65536, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1, - 1 - ], - type: "INT8", - data: [ - 223 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 252, - 59, - 245, - 154 - ] - }, - { - name: "result-0", - shape: [ - 1, - 2, - 4, - 8193, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x65535x3x1_i8xi4_acci32_st112_pad010011_dilat771/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x65535x3x1_i8xi4_acci32_st112_pad010011_dilat771/test.json index 9df0e8685..dc1c91092 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x65535x3x1_i8xi4_acci32_st112_pad010011_dilat771/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x65535x3x1_i8xi4_acci32_st112_pad010011_dilat771/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, + 1, + 1 + ], + stride: [ + 1, + 1, + 2 + ], + dilation: [ + 7, + 7, + 1 + ], + input_zp: -107, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 65535, + 3, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1, + 1 + ], + type: "INT4", + data: [ + 7 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 87, + 68, + 163, + 236 + ] + }, + { + name: "result-0", + shape: [ + 1, + 2, + 65535, + 3, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 1, - 0, - 0, - 1, - 1 - ], - stride: [ - 1, - 1, - 2 - ], - dilation: [ - 7, - 7, - 1 - ], - input_zp: -107, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 65535, - 3, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1, - 1 - ], - type: "INT4", - data: [ - 7 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 87, - 68, - 163, - 236 - ] - }, - { - name: "result-0", - shape: [ - 1, - 2, - 65535, - 3, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x65535x3x1_i8xi4_acci32_st112_pad100100_dilat711/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x65535x3x1_i8xi4_acci32_st112_pad100100_dilat711/test.json index de4a69388..5e5f18c82 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x65535x3x1_i8xi4_acci32_st112_pad100100_dilat711/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x65535x3x1_i8xi4_acci32_st112_pad100100_dilat711/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: [ + 1, + 0, + 0, + 1, + 0, + 0 + ], + stride: [ + 1, + 1, + 2 + ], + dilation: [ + 7, + 1, + 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, + 1, + 65535, + 3, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1, + 1 + ], + type: "INT4", + data: [ + 13 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 29, + 101, + 245, + 34 + ] + }, + { + name: "result-0", + shape: [ + 1, + 2, + 65536, + 2, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 1, - 0, - 0, - 1, - 0, - 0 - ], - stride: [ - 1, - 1, - 2 - ], - dilation: [ - 7, - 1, - 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, - 1, - 65535, - 3, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1, - 1 - ], - type: "INT4", - data: [ - 13 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 29, - 101, - 245, - 34 - ] - }, - { - name: "result-0", - shape: [ - 1, - 2, - 65536, - 2, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x65535x3x1_i8xi4_acci32_st112_pad101100_dilat777/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x65535x3x1_i8xi4_acci32_st112_pad101100_dilat777/test.json index 6a62129e7..b5acbaa02 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x65535x3x1_i8xi4_acci32_st112_pad101100_dilat777/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x65535x3x1_i8xi4_acci32_st112_pad101100_dilat777/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: [ + 1, + 0, + 1, + 1, + 0, + 0 + ], + stride: [ + 1, + 1, + 2 + ], + dilation: [ + 7, + 7, + 7 + ], + input_zp: -110, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 65535, + 3, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1, + 1 + ], + type: "INT4", + data: [ + 5 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 37, + 60, + 144, + 170 + ] + }, + { + name: "result-0", + shape: [ + 1, + 2, + 65537, + 2, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 1, - 0, - 1, - 1, - 0, - 0 - ], - stride: [ - 1, - 1, - 2 - ], - dilation: [ - 7, - 7, - 7 - ], - input_zp: -110, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 65535, - 3, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1, - 1 - ], - type: "INT4", - data: [ - 5 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 37, - 60, - 144, - 170 - ] - }, - { - name: "result-0", - shape: [ - 1, - 2, - 65537, - 2, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x65535x3x1_i8xi4_acci32_st122_pad011100_dilat771/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x65535x3x1_i8xi4_acci32_st122_pad011100_dilat771/test.json index 0d174fb19..2c2cc336a 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x65535x3x1_i8xi4_acci32_st122_pad011100_dilat771/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x65535x3x1_i8xi4_acci32_st122_pad011100_dilat771/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, + 1, + 1, + 0, + 0 + ], + stride: [ + 1, + 2, + 2 + ], + dilation: [ + 7, + 7, + 1 + ], + input_zp: 8, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 65535, + 3, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1, + 1 + ], + type: "INT4", + data: [ + 0 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 22, + 255, + 7, + 12 + ] + }, + { + name: "result-0", + shape: [ + 1, + 2, + 32769, + 2, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 1, - 1, - 1, - 0, - 0 - ], - stride: [ - 1, - 2, - 2 - ], - dilation: [ - 7, - 7, - 1 - ], - input_zp: 8, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 65535, - 3, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1, - 1 - ], - type: "INT4", - data: [ - 0 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 22, - 255, - 7, - 12 - ] - }, - { - name: "result-0", - shape: [ - 1, - 2, - 32769, - 2, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x65535x3x1_i8xi4_acci32_st181_pad011111_dilat771/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x65535x3x1_i8xi4_acci32_st181_pad011111_dilat771/test.json index b33cf986b..6057ae8c3 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x65535x3x1_i8xi4_acci32_st181_pad011111_dilat771/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x65535x3x1_i8xi4_acci32_st181_pad011111_dilat771/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, + 1, + 1, + 1, + 1 + ], + stride: [ + 1, + 8, + 1 + ], + dilation: [ + 7, + 7, + 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, + 1, + 65535, + 3, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1, + 1 + ], + type: "INT4", + data: [ + 7 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 9, + 31, + 11, + 115 + ] + }, + { + name: "result-0", + shape: [ + 1, + 2, + 8193, + 5, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 1, - 1, - 1, - 1, - 1 - ], - stride: [ - 1, - 8, - 1 - ], - dilation: [ - 7, - 7, - 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, - 1, - 65535, - 3, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1, - 1 - ], - type: "INT4", - data: [ - 7 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 9, - 31, - 11, - 115 - ] - }, - { - name: "result-0", - shape: [ - 1, - 2, - 8193, - 5, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x65535x3x1_i8xi4_acci32_st222_pad111111_dilat711/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x65535x3x1_i8xi4_acci32_st222_pad111111_dilat711/test.json index f2dbdcf5f..de5da7bd6 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x65535x3x1_i8xi4_acci32_st222_pad111111_dilat711/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x65535x3x1_i8xi4_acci32_st222_pad111111_dilat711/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: [ + 1, + 1, + 1, + 1, + 1, + 1 + ], + stride: [ + 2, + 2, + 2 + ], + dilation: [ + 7, + 1, + 1 + ], + input_zp: -101, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 65535, + 3, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1, + 1 + ], + type: "INT4", + data: [ + 3 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 196, + 123, + 50, + 39 + ] + }, + { + name: "result-0", + shape: [ + 1, + 2, + 32769, + 3, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 1, - 1, - 1, - 1, - 1, - 1 - ], - stride: [ - 2, - 2, - 2 - ], - dilation: [ - 7, - 1, - 1 - ], - input_zp: -101, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 65535, - 3, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1, - 1 - ], - type: "INT4", - data: [ - 3 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 196, - 123, - 50, - 39 - ] - }, - { - name: "result-0", - shape: [ - 1, - 2, - 32769, - 3, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x65535x3x1_i8xi8_acci32_st111_pad101001_dilat777/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x65535x3x1_i8xi8_acci32_st111_pad101001_dilat777/test.json index 640641159..a37818f50 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x65535x3x1_i8xi8_acci32_st111_pad101001_dilat777/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x1x65535x3x1_i8xi8_acci32_st111_pad101001_dilat777/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: [ + 1, + 0, + 1, + 0, + 0, + 1 + ], + stride: [ + 1, + 1, + 1 + ], + dilation: [ + 7, + 7, + 7 + ], + input_zp: -33, + weight_zp: -79, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 65535, + 3, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1, + 1 + ], + type: "INT8", + data: [ + 30 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 45, + 8, + 192, + 144 + ] + }, + { + name: "result-0", + shape: [ + 1, + 2, + 65536, + 4, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 1, - 0, - 1, - 0, - 0, - 1 - ], - stride: [ - 1, - 1, - 1 - ], - dilation: [ - 7, - 7, - 7 - ], - input_zp: -33, - weight_zp: -79, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 65535, - 3, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1, - 1 - ], - type: "INT8", - data: [ - 30 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 45, - 8, - 192, - 144 - ] - }, - { - name: "result-0", - shape: [ - 1, - 2, - 65536, - 4, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st111_pad001000_dilat777/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st111_pad001000_dilat777/test.json index 93fc4fa4c..d2c2b18a7 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st111_pad001000_dilat777/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st111_pad001000_dilat777/test.json @@ -5,126 +5,131 @@ _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, + 0, + 1, + 0, + 0, + 0 + ], + stride: [ + 1, + 1, + 1 + ], + dilation: [ + 7, + 7, + 7 + ], + input_zp: 0, + weight_zp: 94, + 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, + 1, + 1, + 1, + 3 + ], + type: "INT8", + data: [ + 32, + 107, + 67 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT48", + data: [ + 168, + 90, + 136, + 230, + 34, + 31 + ] + }, + { + name: "result-0", + shape: [ + 1, + 9, + 12, + 12, + 1 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 1, - 0, - 0, - 0 - ], - stride: [ - 1, - 1, - 1 - ], - dilation: [ - 7, - 7, - 7 - ], - input_zp: 0, - weight_zp: 94, - 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, - 1, - 1, - 1, - 3 - ], - type: "INT8", - data: [ - 32, - 107, - 67 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT48", - data: [ - 168, - 90, - 136, - 230, - 34, - 31 - ] - }, - { - name: "result-0", - shape: [ - 1, - 9, - 12, - 12, - 1 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st112_pad990009_dilat111/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st112_pad990009_dilat111/test.json index 2764b23d2..ca5c5a680 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st112_pad990009_dilat111/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st112_pad990009_dilat111/test.json @@ -5,126 +5,131 @@ _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, + 0, + 0, + 9 + ], + stride: [ + 1, + 1, + 2 + ], + dilation: [ + 1, + 1, + 1 + ], + input_zp: 0, + weight_zp: -70, + 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, + 1, + 1, + 1, + 3 + ], + type: "INT8", + data: [ + 212, + 5, + 157 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT48", + data: [ + 70, + 175, + 41, + 71, + 46, + 156 + ] + }, + { + name: "result-0", + shape: [ + 1, + 27, + 11, + 11, + 1 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 9, - 9, - 0, - 0, - 0, - 9 - ], - stride: [ - 1, - 1, - 2 - ], - dilation: [ - 1, - 1, - 1 - ], - input_zp: 0, - weight_zp: -70, - 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, - 1, - 1, - 1, - 3 - ], - type: "INT8", - data: [ - 212, - 5, - 157 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT48", - data: [ - 70, - 175, - 41, - 71, - 46, - 156 - ] - }, - { - name: "result-0", - shape: [ - 1, - 27, - 11, - 11, - 1 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st121_pad000001_dilat177/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st121_pad000001_dilat177/test.json index 0016f7c49..9bc01d077 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st121_pad000001_dilat177/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st121_pad000001_dilat177/test.json @@ -5,126 +5,131 @@ _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, + 0, + 0, + 0, + 0, + 1 + ], + stride: [ + 1, + 2, + 1 + ], + dilation: [ + 1, + 7, + 7 + ], + input_zp: 0, + weight_zp: -124, + 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, + 1, + 1, + 1, + 3 + ], + type: "INT8", + data: [ + 83, + 102, + 47 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT48", + data: [ + 239, + 2, + 206, + 144, + 187, + 84 + ] + }, + { + name: "result-0", + shape: [ + 1, + 9, + 6, + 13, + 1 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 0, - 0, - 1 - ], - stride: [ - 1, - 2, - 1 - ], - dilation: [ - 1, - 7, - 7 - ], - input_zp: 0, - weight_zp: -124, - 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, - 1, - 1, - 1, - 3 - ], - type: "INT8", - data: [ - 83, - 102, - 47 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT48", - data: [ - 239, - 2, - 206, - 144, - 187, - 84 - ] - }, - { - name: "result-0", - shape: [ - 1, - 9, - 6, - 13, - 1 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st121_pad090090_dilat121/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st121_pad090090_dilat121/test.json index ba32c3a7c..0644ccce5 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st121_pad090090_dilat121/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st121_pad090090_dilat121/test.json @@ -5,126 +5,131 @@ _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, + 0, + 9, + 0 + ], + stride: [ + 1, + 2, + 1 + ], + dilation: [ + 1, + 2, + 1 + ], + input_zp: 0, + weight_zp: 122, + 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, + 1, + 1, + 1, + 3 + ], + type: "INT8", + data: [ + 45, + 156, + 230 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT48", + data: [ + 15, + 13, + 83, + 103, + 24, + 248 + ] + }, + { + name: "result-0", + shape: [ + 1, + 18, + 6, + 21, + 1 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 9, - 0, - 0, - 9, - 0 - ], - stride: [ - 1, - 2, - 1 - ], - dilation: [ - 1, - 2, - 1 - ], - input_zp: 0, - weight_zp: 122, - 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, - 1, - 1, - 1, - 3 - ], - type: "INT8", - data: [ - 45, - 156, - 230 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT48", - data: [ - 15, - 13, - 83, - 103, - 24, - 248 - ] - }, - { - name: "result-0", - shape: [ - 1, - 18, - 6, - 21, - 1 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st121_pad100010_dilat117/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st121_pad100010_dilat117/test.json index 4766dec7e..0121de43a 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st121_pad100010_dilat117/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st121_pad100010_dilat117/test.json @@ -5,126 +5,131 @@ _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, + 0, + 0, + 0, + 1, + 0 + ], + stride: [ + 1, + 2, + 1 + ], + dilation: [ + 1, + 1, + 7 + ], + input_zp: 0, + weight_zp: -65, + 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, + 1, + 1, + 1, + 3 + ], + type: "INT8", + data: [ + 119, + 17, + 4 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT48", + data: [ + 25, + 130, + 51, + 140, + 12, + 163 + ] + }, + { + name: "result-0", + shape: [ + 1, + 10, + 6, + 13, + 1 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 1, - 0, - 0, - 0, - 1, - 0 - ], - stride: [ - 1, - 2, - 1 - ], - dilation: [ - 1, - 1, - 7 - ], - input_zp: 0, - weight_zp: -65, - 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, - 1, - 1, - 1, - 3 - ], - type: "INT8", - data: [ - 119, - 17, - 4 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT48", - data: [ - 25, - 130, - 51, - 140, - 12, - 163 - ] - }, - { - name: "result-0", - shape: [ - 1, - 10, - 6, - 13, - 1 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st221_pad000011_dilat121/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st221_pad000011_dilat121/test.json index ad12497dd..40786dffc 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st221_pad000011_dilat121/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st221_pad000011_dilat121/test.json @@ -5,126 +5,131 @@ _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, + 0, + 0, + 0, + 1, + 1 + ], + stride: [ + 2, + 2, + 1 + ], + dilation: [ + 1, + 2, + 1 + ], + input_zp: 0, + weight_zp: -63, + 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, + 1, + 1, + 1, + 3 + ], + type: "INT8", + data: [ + 178, + 70, + 137 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT48", + data: [ + 18, + 140, + 185, + 84, + 154, + 102 + ] + }, + { + name: "result-0", + shape: [ + 1, + 5, + 6, + 14, + 1 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 0, - 1, - 1 - ], - stride: [ - 2, - 2, - 1 - ], - dilation: [ - 1, - 2, - 1 - ], - input_zp: 0, - weight_zp: -63, - 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, - 1, - 1, - 1, - 3 - ], - type: "INT8", - data: [ - 178, - 70, - 137 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT48", - data: [ - 18, - 140, - 185, - 84, - 154, - 102 - ] - }, - { - name: "result-0", - shape: [ - 1, - 5, - 6, - 14, - 1 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st811_pad000090_dilat117/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st811_pad000090_dilat117/test.json index 173e2246c..121519678 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st811_pad000090_dilat117/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st811_pad000090_dilat117/test.json @@ -5,126 +5,131 @@ _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, + 0, + 0, + 0, + 9, + 0 + ], + stride: [ + 8, + 1, + 1 + ], + dilation: [ + 1, + 1, + 7 + ], + input_zp: 0, + weight_zp: 67, + 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, + 1, + 1, + 1, + 3 + ], + type: "INT8", + data: [ + 7, + 116, + 209 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT48", + data: [ + 45, + 106, + 248, + 173, + 4, + 94 + ] + }, + { + name: "result-0", + shape: [ + 1, + 2, + 11, + 21, + 1 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 0, - 9, - 0 - ], - stride: [ - 8, - 1, - 1 - ], - dilation: [ - 1, - 1, - 7 - ], - input_zp: 0, - weight_zp: 67, - 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, - 1, - 1, - 1, - 3 - ], - type: "INT8", - data: [ - 7, - 116, - 209 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT48", - data: [ - 45, - 106, - 248, - 173, - 4, - 94 - ] - }, - { - name: "result-0", - shape: [ - 1, - 2, - 11, - 21, - 1 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st811_pad001110_dilat112/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st811_pad001110_dilat112/test.json index a96679c3f..5379f0e95 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st811_pad001110_dilat112/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i16xi8_acci48_st811_pad001110_dilat112/test.json @@ -5,126 +5,131 @@ _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, + 0, + 1, + 1, + 1, + 0 + ], + stride: [ + 8, + 1, + 1 + ], + dilation: [ + 1, + 1, + 2 + ], + 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, + 9, + 11, + 12, + 3 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1, + 3 + ], + type: "INT8", + data: [ + 103, + 10, + 46 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT48", + data: [ + 171, + 66, + 175, + 19, + 174, + 235 + ] + }, + { + name: "result-0", + shape: [ + 1, + 2, + 13, + 13, + 1 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 1, - 1, - 1, - 0 - ], - stride: [ - 8, - 1, - 1 - ], - dilation: [ - 1, - 1, - 2 - ], - 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, - 9, - 11, - 12, - 3 - ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1, - 3 - ], - type: "INT8", - data: [ - 103, - 10, - 46 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT48", - data: [ - 171, - 66, - 175, - 19, - 174, - 235 - ] - }, - { - name: "result-0", - shape: [ - 1, - 2, - 13, - 13, - 1 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i8xi4_acci32_st211_pad990099_dilat717/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i8xi4_acci32_st211_pad990099_dilat717/test.json index 40785bee3..dc8aba4b4 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i8xi4_acci32_st211_pad990099_dilat717/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i8xi4_acci32_st211_pad990099_dilat717/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: [ + 9, + 9, + 0, + 0, + 9, + 9 + ], + stride: [ + 2, + 1, + 1 + ], + dilation: [ + 7, + 1, + 7 + ], + input_zp: -95, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 9, + 11, + 12, + 3 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1, + 3 + ], + type: "INT4", + data: [ + 19, + 9 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 131, + 83, + 184, + 194 + ] + }, + { + name: "result-0", + shape: [ + 1, + 14, + 11, + 30, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 9, - 9, - 0, - 0, - 9, - 9 - ], - stride: [ - 2, - 1, - 1 - ], - dilation: [ - 7, - 1, - 7 - ], - input_zp: -95, - 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, - 11, - 12, - 3 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1, - 3 - ], - type: "INT4", - data: [ - 19, - 9 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 131, - 83, - 184, - 194 - ] - }, - { - name: "result-0", - shape: [ - 1, - 14, - 11, - 30, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i8xi8_acci32_st211_pad000010_dilat122/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i8xi8_acci32_st211_pad000010_dilat122/test.json index 7ab4c084b..9bb53931c 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i8xi8_acci32_st211_pad000010_dilat122/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i8xi8_acci32_st211_pad000010_dilat122/test.json @@ -5,124 +5,129 @@ _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, + 0, + 0, + 0, + 1, + 0 + ], + stride: [ + 2, + 1, + 1 + ], + dilation: [ + 1, + 2, + 2 + ], + input_zp: -75, + weight_zp: -63, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 9, + 11, + 12, + 3 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1, + 3 + ], + type: "INT8", + data: [ + 119, + 82, + 169 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 236, + 249, + 4, + 246 + ] + }, + { + name: "result-0", + shape: [ + 1, + 5, + 11, + 13, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 0, - 1, - 0 - ], - stride: [ - 2, - 1, - 1 - ], - dilation: [ - 1, - 2, - 2 - ], - input_zp: -75, - weight_zp: -63, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 9, - 11, - 12, - 3 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1, - 3 - ], - type: "INT8", - data: [ - 119, - 82, - 169 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 236, - 249, - 4, - 246 - ] - }, - { - name: "result-0", - shape: [ - 1, - 5, - 11, - 13, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i8xi8_acci32_st222_pad001101_dilat221/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i8xi8_acci32_st222_pad001101_dilat221/test.json index 7e9a4fe7f..ecbba817a 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i8xi8_acci32_st222_pad001101_dilat221/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x11x12x3_i8xi8_acci32_st222_pad001101_dilat221/test.json @@ -5,124 +5,129 @@ _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, + 0, + 1, + 1, + 0, + 1 + ], + stride: [ + 2, + 2, + 2 + ], + dilation: [ + 2, + 2, + 1 + ], + input_zp: 120, + weight_zp: -41, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 9, + 11, + 12, + 3 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1, + 3 + ], + type: "INT8", + data: [ + 99, + 8, + 31 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 138, + 230, + 237, + 70 + ] + }, + { + name: "result-0", + shape: [ + 1, + 5, + 7, + 7, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 1, - 1, - 0, - 1 - ], - stride: [ - 2, - 2, - 2 - ], - dilation: [ - 2, - 2, - 1 - ], - input_zp: 120, - weight_zp: -41, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 9, - 11, - 12, - 3 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1, - 3 - ], - type: "INT8", - data: [ - 99, - 8, - 31 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 138, - 230, - 237, - 70 - ] - }, - { - name: "result-0", - shape: [ - 1, - 5, - 7, - 7, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x21x14x1_i16xi8_acci48_st122_pad900090_dilat211/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x21x14x1_i16xi8_acci48_st122_pad900090_dilat211/test.json index 86e88dbb3..4f84bcf73 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x21x14x1_i16xi8_acci48_st122_pad900090_dilat211/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x21x14x1_i16xi8_acci48_st122_pad900090_dilat211/test.json @@ -5,124 +5,129 @@ _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, + 0 + ], + stride: [ + 1, + 2, + 2 + ], + dilation: [ + 2, + 1, + 1 + ], + input_zp: 0, + weight_zp: -48, + 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, + 1, + 1, + 1, + 1 + ], + type: "INT8", + data: [ + 54 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT48", + data: [ + 147, + 78, + 57, + 202, + 180, + 208 + ] + }, + { + name: "result-0", + shape: [ + 1, + 18, + 11, + 12, + 1 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 9, - 0, - 0, - 0, - 9, - 0 - ], - stride: [ - 1, - 2, - 2 - ], - dilation: [ - 2, - 1, - 1 - ], - input_zp: 0, - weight_zp: -48, - 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, - 1, - 1, - 1, - 1 - ], - type: "INT8", - data: [ - 54 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT48", - data: [ - 147, - 78, - 57, - 202, - 180, - 208 - ] - }, - { - name: "result-0", - shape: [ - 1, - 18, - 11, - 12, - 1 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x21x14x1_i16xi8_acci48_st122_pad990090_dilat177/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x21x14x1_i16xi8_acci48_st122_pad990090_dilat177/test.json index fe3ff3e4e..85cd2f14f 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x21x14x1_i16xi8_acci48_st122_pad990090_dilat177/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x21x14x1_i16xi8_acci48_st122_pad990090_dilat177/test.json @@ -5,124 +5,129 @@ _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, + 0, + 9, + 0 + ], + stride: [ + 1, + 2, + 2 + ], + dilation: [ + 1, + 7, + 7 + ], + input_zp: 0, + weight_zp: 115, + 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, + 1, + 1, + 1, + 1 + ], + type: "INT8", + data: [ + 86 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT48", + data: [ + 42, + 161, + 244, + 74, + 72, + 220 + ] + }, + { + name: "result-0", + shape: [ + 1, + 27, + 11, + 12, + 1 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 9, - 9, - 0, - 0, - 9, - 0 - ], - stride: [ - 1, - 2, - 2 - ], - dilation: [ - 1, - 7, - 7 - ], - input_zp: 0, - weight_zp: 115, - 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, - 1, - 1, - 1, - 1 - ], - type: "INT8", - data: [ - 86 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT48", - data: [ - 42, - 161, - 244, - 74, - 72, - 220 - ] - }, - { - name: "result-0", - shape: [ - 1, - 27, - 11, - 12, - 1 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x21x14x1_i8xi4_acci32_st112_pad090009_dilat122/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x21x14x1_i8xi4_acci32_st112_pad090009_dilat122/test.json index f4ded93e2..794bfd826 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x21x14x1_i8xi4_acci32_st112_pad090009_dilat122/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x21x14x1_i8xi4_acci32_st112_pad090009_dilat122/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, + 9, + 0, + 0, + 0, + 9 + ], + stride: [ + 1, + 1, + 2 + ], + dilation: [ + 1, + 2, + 2 + ], + 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, + 9, + 21, + 14, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1, + 1 + ], + type: "INT4", + data: [ + 13 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 168, + 128, + 179, + 117 + ] + }, + { + name: "result-0", + shape: [ + 1, + 18, + 21, + 12, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 9, - 0, - 0, - 0, - 9 - ], - stride: [ - 1, - 1, - 2 - ], - dilation: [ - 1, - 2, - 2 - ], - 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, - 9, - 21, - 14, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1, - 1 - ], - type: "INT4", - data: [ - 13 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 168, - 128, - 179, - 117 - ] - }, - { - name: "result-0", - shape: [ - 1, - 18, - 21, - 12, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x21x14x1_i8xi4_acci32_st112_pad100001_dilat121/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x21x14x1_i8xi4_acci32_st112_pad100001_dilat121/test.json index bee76c959..79e4c9ec2 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x21x14x1_i8xi4_acci32_st112_pad100001_dilat121/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x21x14x1_i8xi4_acci32_st112_pad100001_dilat121/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: [ + 1, + 0, + 0, + 0, + 0, + 1 + ], + stride: [ + 1, + 1, + 2 + ], + dilation: [ + 1, + 2, + 1 + ], + input_zp: 124, + 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, + 1, + 1, + 1, + 1 + ], + type: "INT4", + data: [ + 2 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 145, + 178, + 186, + 46 + ] + }, + { + name: "result-0", + shape: [ + 1, + 10, + 21, + 8, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 1, - 0, - 0, - 0, - 0, - 1 - ], - stride: [ - 1, - 1, - 2 - ], - dilation: [ - 1, - 2, - 1 - ], - input_zp: 124, - 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, - 1, - 1, - 1, - 1 - ], - type: "INT4", - data: [ - 2 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 145, - 178, - 186, - 46 - ] - }, - { - name: "result-0", - shape: [ - 1, - 10, - 21, - 8, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_ConvOutputShapeMismatch_1x5x10x3x11_i8xi8_acci32_st111_pad000000_dilat111/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_ConvOutputShapeMismatch_1x5x10x3x11_i8xi8_acci32_st111_pad000000_dilat111/test.json index 14dc739dc..c01947a17 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_ConvOutputShapeMismatch_1x5x10x3x11_i8xi8_acci32_st111_pad000000_dilat111/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_ConvOutputShapeMismatch_1x5x10x3x11_i8xi8_acci32_st111_pad000000_dilat111/test.json @@ -5,147 +5,152 @@ _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, + 0, + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1, + 1 + ], + dilation: [ + 1, + 1, + 1 + ], + input_zp: 51, + weight_zp: 45, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 5, + 10, + 3, + 11 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 2, + 1, + 1, + 1, + 11 + ], + type: "INT8", + data: [ + 15, + 69, + 229, + 32, + 205, + 172, + 41, + 7, + 213, + 252, + 96, + 179, + 108, + 68, + 76, + 185, + 71, + 156, + 78, + 101, + 99, + 92 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 154, + 137, + 191, + 25, + 54, + 110, + 84, + 46 + ] + }, + { + name: "result-0", + shape: [ + 1, + 5, + 10, + 4, + 2 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1, - 1 - ], - dilation: [ - 1, - 1, - 1 - ], - input_zp: 51, - weight_zp: 45, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 5, - 10, - 3, - 11 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 2, - 1, - 1, - 1, - 11 - ], - type: "INT8", - data: [ - 15, - 69, - 229, - 32, - 205, - 172, - 41, - 7, - 213, - 252, - 96, - 179, - 108, - 68, - 76, - 185, - 71, - 156, - 78, - 101, - 99, - 92 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT32", - data: [ - 154, - 137, - 191, - 25, - 54, - 110, - 84, - 46 - ] - }, - { - name: "result-0", - shape: [ - 1, - 5, - 10, - 4, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_ConvOutputShapeNonInteger_1x1x3x15x7_i8xi8_acci32_st222_pad100000_dilat112/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_ConvOutputShapeNonInteger_1x1x3x15x7_i8xi8_acci32_st222_pad100000_dilat112/test.json index 9ae37bf3d..0c7579f35 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_ConvOutputShapeNonInteger_1x1x3x15x7_i8xi8_acci32_st222_pad100000_dilat112/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_ConvOutputShapeNonInteger_1x1x3x15x7_i8xi8_acci32_st222_pad100000_dilat112/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: "CONV3D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 1, + 0, + 0, + 0, + 0, + 0 + ], + stride: [ + 2, + 2, + 2 + ], + dilation: [ + 1, + 1, + 2 + ], + input_zp: 85, + weight_zp: -74, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 3, + 15, + 7 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 8, + 1, + 1, + 1, + 7 + ], + type: "INT8", + data: [ + 241, + 200, + 113, + 74, + 0, + 160, + 198, + 252, + 30, + 105, + 55, + 71, + 124, + 37, + 168, + 163, + 220, + 38, + 35, + 137, + 69, + 154, + 51, + 70, + 23, + 180, + 226, + 41, + 109, + 93, + 78, + 7, + 21, + 243, + 133, + 247, + 104, + 248, + 136, + 125, + 94, + 82, + 47, + 54, + 144, + 244, + 160, + 26, + 124, + 232, + 254, + 118, + 240, + 234, + 181, + 63 + ] + }, + { + name: "const-2", + shape: [ + 8 + ], + type: "INT32", + data: [ + 36, + 164, + 190, + 174, + 176, + 0, + 251, + 174, + 103, + 203, + 127, + 130, + 145, + 215, + 236, + 171, + 122, + 40, + 73, + 201, + 115, + 232, + 229, + 224, + 43, + 48, + 84, + 44, + 174, + 132, + 192, + 97 + ] + }, + { + name: "result-0", + shape: [ + 1, + 1, + 2, + 8, + 8 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 1, - 0, - 0, - 0, - 0, - 0 - ], - stride: [ - 2, - 2, - 2 - ], - dilation: [ - 1, - 1, - 2 - ], - input_zp: 85, - weight_zp: -74, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 3, - 15, - 7 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 8, - 1, - 1, - 1, - 7 - ], - type: "INT8", - data: [ - 241, - 200, - 113, - 74, - 0, - 160, - 198, - 252, - 30, - 105, - 55, - 71, - 124, - 37, - 168, - 163, - 220, - 38, - 35, - 137, - 69, - 154, - 51, - 70, - 23, - 180, - 226, - 41, - 109, - 93, - 78, - 7, - 21, - 243, - 133, - 247, - 104, - 248, - 136, - 125, - 94, - 82, - 47, - 54, - 144, - 244, - 160, - 26, - 124, - 232, - 254, - 118, - 240, - 234, - 181, - 63 - ] - }, - { - name: "const-2", - shape: [ - 8 - ], - type: "INT32", - data: [ - 36, - 164, - 190, - 174, - 176, - 0, - 251, - 174, - 103, - 203, - 127, - 130, - 145, - 215, - 236, - 171, - 122, - 40, - 73, - 201, - 115, - 232, - 229, - 224, - 43, - 48, - 84, - 44, - 174, - 132, - 192, - 97 - ] - }, - { - name: "result-0", - shape: [ - 1, - 1, - 2, - 8, - 8 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_DilationSmallerOne_1x2x6x2x6_i16xi8_acci48_st111_pad000000_dilat-3-3-3/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_DilationSmallerOne_1x2x6x2x6_i16xi8_acci48_st111_pad000000_dilat-3-3-3/test.json index 357d6092a..1a1b95be6 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_DilationSmallerOne_1x2x6x2x6_i16xi8_acci48_st111_pad000000_dilat-3-3-3/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_DilationSmallerOne_1x2x6x2x6_i16xi8_acci48_st111_pad000000_dilat-3-3-3/test.json @@ -5,297 +5,302 @@ _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, + 0, + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1, + 1 + ], + dilation: [ + -3, + -3, + -3 + ], + input_zp: 0, + weight_zp: -25, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 2, + 6, + 2, + 6 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 15, + 1, + 1, + 1, + 6 + ], + type: "INT8", + data: [ + 223, + 241, + 76, + 167, + 69, + 52, + 95, + 14, + 152, + 74, + 157, + 181, + 66, + 223, + 57, + 71, + 83, + 218, + 114, + 208, + 122, + 67, + 0, + 99, + 82, + 22, + 226, + 103, + 90, + 115, + 59, + 51, + 12, + 99, + 218, + 195, + 87, + 254, + 64, + 235, + 25, + 178, + 19, + 21, + 168, + 201, + 12, + 88, + 173, + 219, + 175, + 39, + 235, + 71, + 105, + 26, + 14, + 79, + 32, + 125, + 5, + 154, + 205, + 237, + 173, + 25, + 116, + 17, + 234, + 228, + 4, + 75, + 210, + 228, + 5, + 127, + 112, + 159, + 55, + 166, + 65, + 5, + 92, + 183, + 106, + 109, + 67, + 218, + 56, + 79 + ] + }, + { + name: "const-2", + shape: [ + 15 + ], + type: "INT48", + data: [ + 24, + 84, + 30, + 64, + 52, + 192, + 1, + 110, + 85, + 209, + 61, + 40, + 42, + 234, + 197, + 51, + 249, + 203, + 238, + 56, + 10, + 72, + 186, + 185, + 96, + 109, + 185, + 230, + 163, + 165, + 102, + 210, + 89, + 191, + 130, + 9, + 108, + 178, + 188, + 33, + 226, + 46, + 172, + 209, + 244, + 198, + 207, + 221, + 186, + 120, + 85, + 168, + 49, + 190, + 116, + 10, + 31, + 89, + 194, + 9, + 18, + 180, + 9, + 182, + 85, + 215, + 225, + 97, + 114, + 170, + 120, + 180, + 230, + 24, + 165, + 129, + 100, + 168, + 229, + 181, + 201, + 73, + 188, + 253, + 207, + 5, + 128, + 166, + 57, + 234 + ] + }, + { + name: "result-0", + shape: [ + 1, + 2, + 6, + 2, + 15 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1, - 1 - ], - dilation: [ - -3, - -3, - -3 - ], - input_zp: 0, - weight_zp: -25, - accum_dtype: "INT48" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 2, - 6, - 2, - 6 - ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 15, - 1, - 1, - 1, - 6 - ], - type: "INT8", - data: [ - 223, - 241, - 76, - 167, - 69, - 52, - 95, - 14, - 152, - 74, - 157, - 181, - 66, - 223, - 57, - 71, - 83, - 218, - 114, - 208, - 122, - 67, - 0, - 99, - 82, - 22, - 226, - 103, - 90, - 115, - 59, - 51, - 12, - 99, - 218, - 195, - 87, - 254, - 64, - 235, - 25, - 178, - 19, - 21, - 168, - 201, - 12, - 88, - 173, - 219, - 175, - 39, - 235, - 71, - 105, - 26, - 14, - 79, - 32, - 125, - 5, - 154, - 205, - 237, - 173, - 25, - 116, - 17, - 234, - 228, - 4, - 75, - 210, - 228, - 5, - 127, - 112, - 159, - 55, - 166, - 65, - 5, - 92, - 183, - 106, - 109, - 67, - 218, - 56, - 79 - ] - }, - { - name: "const-2", - shape: [ - 15 - ], - type: "INT48", - data: [ - 24, - 84, - 30, - 64, - 52, - 192, - 1, - 110, - 85, - 209, - 61, - 40, - 42, - 234, - 197, - 51, - 249, - 203, - 238, - 56, - 10, - 72, - 186, - 185, - 96, - 109, - 185, - 230, - 163, - 165, - 102, - 210, - 89, - 191, - 130, - 9, - 108, - 178, - 188, - 33, - 226, - 46, - 172, - 209, - 244, - 198, - 207, - 221, - 186, - 120, - 85, - 168, - 49, - 190, - 116, - 10, - 31, - 89, - 194, - 9, - 18, - 180, - 9, - 182, - 85, - 215, - 225, - 97, - 114, - 170, - 120, - 180, - 230, - 24, - 165, - 129, - 100, - 168, - 229, - 181, - 201, - 73, - 188, - 253, - 207, - 5, - 128, - 166, - 57, - 234 - ] - }, - { - name: "result-0", - shape: [ - 1, - 2, - 6, - 2, - 15 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_InputZeroPointNotZero_1x11x10x3x13_bf16xbf16_accf32_st111_pad000000_dilat111/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_InputZeroPointNotZero_1x11x10x3x13_bf16xbf16_accf32_st111_pad000000_dilat111/test.json index e8fae916b..222aa5820 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_InputZeroPointNotZero_1x11x10x3x13_bf16xbf16_accf32_st111_pad000000_dilat111/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_InputZeroPointNotZero_1x11x10x3x13_bf16xbf16_accf32_st111_pad000000_dilat111/test.json @@ -5,285 +5,290 @@ _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, + 0, + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1, + 1 + ], + dilation: [ + 1, + 1, + 1 + ], + input_zp: -6, + weight_zp: 0, + accum_dtype: "FP32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 10, + 3, + 13 + ], + type: "BF16" + }, + { + name: "const-1", + shape: [ + 3, + 1, + 1, + 1, + 13 + ], + type: "BF16", + data: [ + 0, + 0, + 66, + 63, + 0, + 0, + 53, + 63, + 0, + 0, + 32, + 63, + 0, + 0, + 58, + 63, + 0, + 0, + 90, + 63, + 0, + 0, + 17, + 63, + 0, + 0, + 20, + 62, + 0, + 0, + 80, + 63, + 0, + 0, + 41, + 63, + 0, + 0, + 47, + 63, + 0, + 0, + 150, + 62, + 0, + 0, + 25, + 62, + 0, + 0, + 71, + 63, + 0, + 0, + 74, + 61, + 0, + 0, + 206, + 62, + 0, + 0, + 2, + 63, + 0, + 0, + 142, + 60, + 0, + 0, + 24, + 63, + 0, + 0, + 244, + 61, + 0, + 0, + 119, + 62, + 0, + 0, + 126, + 63, + 0, + 0, + 15, + 63, + 0, + 0, + 119, + 63, + 0, + 0, + 252, + 62, + 0, + 0, + 77, + 63, + 0, + 0, + 27, + 61, + 0, + 0, + 149, + 62, + 0, + 0, + 145, + 62, + 0, + 0, + 142, + 61, + 0, + 0, + 115, + 63, + 0, + 0, + 1, + 63, + 0, + 0, + 23, + 63, + 0, + 0, + 5, + 63, + 0, + 0, + 126, + 62, + 0, + 0, + 108, + 63, + 0, + 0, + 43, + 63, + 0, + 0, + 253, + 61, + 0, + 0, + 236, + 62, + 0, + 0, + 193, + 58 + ] + }, + { + name: "const-2", + shape: [ + 3 + ], + type: "FP32", + data: [ + 248, + 187, + 44, + 63, + 146, + 9, + 6, + 63, + 118, + 121, + 103, + 63 + ] + }, + { + name: "result-0", + shape: [ + 1, + 11, + 10, + 3, + 3 + ], + type: "FP32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1, - 1 - ], - dilation: [ - 1, - 1, - 1 - ], - input_zp: -6, - weight_zp: 0, - accum_dtype: "FP32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 11, - 10, - 3, - 13 - ], - type: "BF16" - }, - { - name: "const-1", - shape: [ - 3, - 1, - 1, - 1, - 13 - ], - type: "BF16", - data: [ - 0, - 0, - 66, - 63, - 0, - 0, - 53, - 63, - 0, - 0, - 32, - 63, - 0, - 0, - 58, - 63, - 0, - 0, - 90, - 63, - 0, - 0, - 17, - 63, - 0, - 0, - 20, - 62, - 0, - 0, - 80, - 63, - 0, - 0, - 41, - 63, - 0, - 0, - 47, - 63, - 0, - 0, - 150, - 62, - 0, - 0, - 25, - 62, - 0, - 0, - 71, - 63, - 0, - 0, - 74, - 61, - 0, - 0, - 206, - 62, - 0, - 0, - 2, - 63, - 0, - 0, - 142, - 60, - 0, - 0, - 24, - 63, - 0, - 0, - 244, - 61, - 0, - 0, - 119, - 62, - 0, - 0, - 126, - 63, - 0, - 0, - 15, - 63, - 0, - 0, - 119, - 63, - 0, - 0, - 252, - 62, - 0, - 0, - 77, - 63, - 0, - 0, - 27, - 61, - 0, - 0, - 149, - 62, - 0, - 0, - 145, - 62, - 0, - 0, - 142, - 61, - 0, - 0, - 115, - 63, - 0, - 0, - 1, - 63, - 0, - 0, - 23, - 63, - 0, - 0, - 5, - 63, - 0, - 0, - 126, - 62, - 0, - 0, - 108, - 63, - 0, - 0, - 43, - 63, - 0, - 0, - 253, - 61, - 0, - 0, - 236, - 62, - 0, - 0, - 193, - 58 - ] - }, - { - name: "const-2", - shape: [ - 3 - ], - type: "FP32", - data: [ - 248, - 187, - 44, - 63, - 146, - 9, - 6, - 63, - 118, - 121, - 103, - 63 - ] - }, - { - name: "result-0", - shape: [ - 1, - 11, - 10, - 3, - 3 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_PadSmallerZero_1x7x15x4x5_i8xi4_acci32_st111_pad-1-1-1-1-1-1_dilat111/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_PadSmallerZero_1x7x15x4x5_i8xi4_acci32_st111_pad-1-1-1-1-1-1_dilat111/test.json index ec5288f59..bbbb53b96 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_PadSmallerZero_1x7x15x4x5_i8xi4_acci32_st111_pad-1-1-1-1-1-1_dilat111/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_PadSmallerZero_1x7x15x4x5_i8xi4_acci32_st111_pad-1-1-1-1-1-1_dilat111/test.json @@ -5,163 +5,168 @@ _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, + -1, + -1, + -1, + -1 + ], + stride: [ + 1, + 1, + 1 + ], + dilation: [ + 1, + 1, + 1 + ], + input_zp: 67, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 7, + 15, + 4, + 5 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 7, + 1, + 1, + 1, + 5 + ], + type: "INT4", + data: [ + 101, + 117, + 201, + 7, + 240, + 26, + 221, + 74, + 13, + 170, + 188, + 42, + 28, + 78, + 118, + 43, + 53, + 5 + ] + }, + { + name: "const-2", + shape: [ + 7 + ], + type: "INT32", + data: [ + 73, + 146, + 38, + 177, + 66, + 68, + 162, + 15, + 173, + 198, + 80, + 132, + 249, + 134, + 7, + 240, + 218, + 10, + 74, + 156, + 55, + 239, + 163, + 230, + 219, + 136, + 131, + 47 + ] + }, + { + name: "result-0", + shape: [ + 1, + 5, + 13, + 2, + 7 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - -1, - -1, - -1, - -1, - -1, - -1 - ], - stride: [ - 1, - 1, - 1 - ], - dilation: [ - 1, - 1, - 1 - ], - input_zp: 67, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 7, - 15, - 4, - 5 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 7, - 1, - 1, - 1, - 5 - ], - type: "INT4", - data: [ - 101, - 117, - 201, - 7, - 240, - 26, - 221, - 74, - 13, - 170, - 188, - 42, - 28, - 78, - 118, - 43, - 53, - 5 - ] - }, - { - name: "const-2", - shape: [ - 7 - ], - type: "INT32", - data: [ - 73, - 146, - 38, - 177, - 66, - 68, - 162, - 15, - 173, - 198, - 80, - 132, - 249, - 134, - 7, - 240, - 218, - 10, - 74, - 156, - 55, - 239, - 163, - 230, - 219, - 136, - 131, - 47 - ] - }, - { - name: "result-0", - shape: [ - 1, - 5, - 13, - 2, - 7 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_StrideSmallerOne_1x11x7x11x3_i16xi8_acci48_st-3-3-3_pad000000_dilat111/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_StrideSmallerOne_1x11x7x11x3_i16xi8_acci48_st-3-3-3_pad000000_dilat111/test.json index 5efd414ce..57854c771 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_StrideSmallerOne_1x11x7x11x3_i16xi8_acci48_st-3-3-3_pad000000_dilat111/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_StrideSmallerOne_1x11x7x11x3_i16xi8_acci48_st-3-3-3_pad000000_dilat111/test.json @@ -5,243 +5,248 @@ _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, + 0, + 0, + 0, + 0, + 0 + ], + stride: [ + -3, + -3, + -3 + ], + dilation: [ + 1, + 1, + 1 + ], + input_zp: 0, + weight_zp: 123, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 7, + 11, + 3 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 14, + 1, + 1, + 1, + 3 + ], + type: "INT8", + data: [ + 252, + 87, + 141, + 232, + 247, + 90, + 165, + 49, + 105, + 98, + 248, + 193, + 87, + 152, + 99, + 13, + 182, + 246, + 189, + 22, + 193, + 95, + 100, + 86, + 250, + 147, + 147, + 167, + 183, + 47, + 174, + 10, + 89, + 172, + 221, + 133, + 92, + 202, + 242, + 192, + 77, + 157 + ] + }, + { + name: "const-2", + shape: [ + 14 + ], + type: "INT48", + data: [ + 138, + 236, + 167, + 43, + 170, + 124, + 136, + 254, + 32, + 219, + 221, + 109, + 152, + 1, + 5, + 172, + 48, + 173, + 169, + 59, + 118, + 164, + 123, + 45, + 241, + 152, + 7, + 217, + 133, + 70, + 178, + 166, + 65, + 7, + 187, + 1, + 187, + 229, + 182, + 161, + 37, + 2, + 229, + 119, + 121, + 237, + 187, + 200, + 24, + 226, + 237, + 35, + 205, + 53, + 39, + 181, + 11, + 211, + 175, + 129, + 14, + 2, + 59, + 111, + 233, + 9, + 169, + 156, + 63, + 219, + 207, + 231, + 131, + 192, + 50, + 211, + 201, + 87, + 106, + 122, + 217, + 45, + 110, + 88 + ] + }, + { + name: "result-0", + shape: [ + 1, + -3, + -1, + -3, + 14 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 0, - 0, - 0 - ], - stride: [ - -3, - -3, - -3 - ], - dilation: [ - 1, - 1, - 1 - ], - input_zp: 0, - weight_zp: 123, - accum_dtype: "INT48" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 11, - 7, - 11, - 3 - ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 14, - 1, - 1, - 1, - 3 - ], - type: "INT8", - data: [ - 252, - 87, - 141, - 232, - 247, - 90, - 165, - 49, - 105, - 98, - 248, - 193, - 87, - 152, - 99, - 13, - 182, - 246, - 189, - 22, - 193, - 95, - 100, - 86, - 250, - 147, - 147, - 167, - 183, - 47, - 174, - 10, - 89, - 172, - 221, - 133, - 92, - 202, - 242, - 192, - 77, - 157 - ] - }, - { - name: "const-2", - shape: [ - 14 - ], - type: "INT48", - data: [ - 138, - 236, - 167, - 43, - 170, - 124, - 136, - 254, - 32, - 219, - 221, - 109, - 152, - 1, - 5, - 172, - 48, - 173, - 169, - 59, - 118, - 164, - 123, - 45, - 241, - 152, - 7, - 217, - 133, - 70, - 178, - 166, - 65, - 7, - 187, - 1, - 187, - 229, - 182, - 161, - 37, - 2, - 229, - 119, - 121, - 237, - 187, - 200, - 24, - 226, - 237, - 35, - 205, - 53, - 39, - 181, - 11, - 211, - 175, - 129, - 14, - 2, - 59, - 111, - 233, - 9, - 169, - 156, - 63, - 219, - 207, - 231, - 131, - 192, - 50, - 211, - 201, - 87, - 106, - 122, - 217, - 45, - 110, - 88 - ] - }, - { - name: "result-0", - shape: [ - 1, - -3, - -1, - -3, - 14 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WeightZeroPointNotZero_1x10x9x7x12_f16xf16_accf32_st111_pad000000_dilat111/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WeightZeroPointNotZero_1x10x9x7x12_f16xf16_accf32_st111_pad000000_dilat111/test.json index 416b261af..869b25cd9 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WeightZeroPointNotZero_1x10x9x7x12_f16xf16_accf32_st111_pad000000_dilat111/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WeightZeroPointNotZero_1x10x9x7x12_f16xf16_accf32_st111_pad000000_dilat111/test.json @@ -5,369 +5,374 @@ _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, + 0, + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1, + 1 + ], + dilation: [ + 1, + 1, + 1 + ], + input_zp: 0, + weight_zp: 48, + accum_dtype: "FP32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 10, + 9, + 7, + 12 + ], + type: "FP16" + }, + { + name: "const-1", + shape: [ + 9, + 1, + 1, + 1, + 12 + ], + type: "FP16", + data: [ + 80, + 41, + 92, + 47, + 112, + 56, + 227, + 57, + 212, + 59, + 224, + 59, + 128, + 58, + 67, + 42, + 61, + 55, + 73, + 42, + 24, + 57, + 1, + 49, + 65, + 57, + 13, + 52, + 55, + 57, + 217, + 57, + 157, + 52, + 239, + 59, + 95, + 51, + 61, + 46, + 172, + 56, + 148, + 54, + 164, + 58, + 33, + 56, + 21, + 52, + 50, + 56, + 232, + 58, + 148, + 51, + 192, + 47, + 252, + 58, + 229, + 58, + 206, + 58, + 99, + 52, + 94, + 58, + 29, + 52, + 247, + 56, + 194, + 47, + 182, + 54, + 66, + 59, + 26, + 37, + 236, + 48, + 29, + 57, + 92, + 58, + 254, + 54, + 26, + 58, + 201, + 59, + 144, + 57, + 22, + 55, + 11, + 57, + 232, + 52, + 31, + 46, + 165, + 48, + 0, + 55, + 136, + 52, + 182, + 41, + 12, + 54, + 209, + 58, + 52, + 45, + 55, + 59, + 25, + 49, + 88, + 55, + 33, + 59, + 242, + 44, + 174, + 56, + 4, + 58, + 156, + 56, + 61, + 41, + 94, + 56, + 186, + 48, + 122, + 54, + 44, + 51, + 13, + 58, + 117, + 58, + 156, + 50, + 33, + 57, + 117, + 58, + 249, + 54, + 86, + 59, + 250, + 50, + 12, + 48, + 230, + 48, + 77, + 59, + 246, + 56, + 120, + 47, + 57, + 54, + 231, + 52, + 4, + 59, + 172, + 53, + 122, + 45, + 159, + 33, + 146, + 56, + 213, + 48, + 241, + 59, + 65, + 59, + 40, + 56, + 152, + 57, + 92, + 50, + 48, + 37, + 192, + 38, + 137, + 56, + 111, + 49, + 184, + 57, + 158, + 57, + 179, + 59, + 45, + 58, + 130, + 56, + 136, + 53, + 169, + 59 + ] + }, + { + name: "const-2", + shape: [ + 9 + ], + type: "FP32", + data: [ + 157, + 19, + 63, + 62, + 242, + 130, + 76, + 62, + 107, + 106, + 33, + 63, + 177, + 161, + 124, + 63, + 242, + 234, + 169, + 61, + 148, + 105, + 125, + 63, + 161, + 241, + 200, + 62, + 177, + 149, + 35, + 63, + 69, + 51, + 47, + 63 + ] + }, + { + name: "result-0", + shape: [ + 1, + 10, + 9, + 7, + 9 + ], + type: "FP32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1, - 1 - ], - dilation: [ - 1, - 1, - 1 - ], - input_zp: 0, - weight_zp: 48, - accum_dtype: "FP32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 10, - 9, - 7, - 12 - ], - type: "FP16" - }, - { - name: "const-1", - shape: [ - 9, - 1, - 1, - 1, - 12 - ], - type: "FP16", - data: [ - 80, - 41, - 92, - 47, - 112, - 56, - 227, - 57, - 212, - 59, - 224, - 59, - 128, - 58, - 67, - 42, - 61, - 55, - 73, - 42, - 24, - 57, - 1, - 49, - 65, - 57, - 13, - 52, - 55, - 57, - 217, - 57, - 157, - 52, - 239, - 59, - 95, - 51, - 61, - 46, - 172, - 56, - 148, - 54, - 164, - 58, - 33, - 56, - 21, - 52, - 50, - 56, - 232, - 58, - 148, - 51, - 192, - 47, - 252, - 58, - 229, - 58, - 206, - 58, - 99, - 52, - 94, - 58, - 29, - 52, - 247, - 56, - 194, - 47, - 182, - 54, - 66, - 59, - 26, - 37, - 236, - 48, - 29, - 57, - 92, - 58, - 254, - 54, - 26, - 58, - 201, - 59, - 144, - 57, - 22, - 55, - 11, - 57, - 232, - 52, - 31, - 46, - 165, - 48, - 0, - 55, - 136, - 52, - 182, - 41, - 12, - 54, - 209, - 58, - 52, - 45, - 55, - 59, - 25, - 49, - 88, - 55, - 33, - 59, - 242, - 44, - 174, - 56, - 4, - 58, - 156, - 56, - 61, - 41, - 94, - 56, - 186, - 48, - 122, - 54, - 44, - 51, - 13, - 58, - 117, - 58, - 156, - 50, - 33, - 57, - 117, - 58, - 249, - 54, - 86, - 59, - 250, - 50, - 12, - 48, - 230, - 48, - 77, - 59, - 246, - 56, - 120, - 47, - 57, - 54, - 231, - 52, - 4, - 59, - 172, - 53, - 122, - 45, - 159, - 33, - 146, - 56, - 213, - 48, - 241, - 59, - 65, - 59, - 40, - 56, - 152, - 57, - 92, - 50, - 48, - 37, - 192, - 38, - 137, - 56, - 111, - 49, - 184, - 57, - 158, - 57, - 179, - 59, - 45, - 58, - 130, - 56, - 136, - 53, - 169, - 59 - ] - }, - { - name: "const-2", - shape: [ - 9 - ], - type: "FP32", - data: [ - 157, - 19, - 63, - 62, - 242, - 130, - 76, - 62, - 107, - 106, - 33, - 63, - 177, - 161, - 124, - 63, - 242, - 234, - 169, - 61, - 148, - 105, - 125, - 63, - 161, - 241, - 200, - 62, - 177, - 149, - 35, - 63, - 69, - 51, - 47, - 63 - ] - }, - { - name: "result-0", - shape: [ - 1, - 10, - 9, - 7, - 9 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongInputList_1x12x12x3x6_i8xi8_acci32_st111_pad000000_dilat111/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongInputList_1x12x12x3x6_i8xi8_acci32_st111_pad000000_dilat111/test.json index 8d30497e7..291c09be4 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongInputList_1x12x12x3x6_i8xi8_acci32_st111_pad000000_dilat111/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongInputList_1x12x12x3x6_i8xi8_acci32_st111_pad000000_dilat111/test.json @@ -5,196 +5,201 @@ _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, + 0, + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1, + 1 + ], + dilation: [ + 1, + 1, + 1 + ], + input_zp: -108, + weight_zp: 46, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 12, + 12, + 3, + 6 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 8, + 1, + 1, + 1, + 6 + ], + type: "INT8", + data: [ + 65, + 194, + 100, + 204, + 100, + 107, + 58, + 172, + 146, + 172, + 34, + 49, + 124, + 115, + 206, + 227, + 69, + 69, + 208, + 135, + 152, + 82, + 217, + 57, + 77, + 101, + 253, + 35, + 178, + 112, + 98, + 227, + 222, + 59, + 234, + 57, + 151, + 196, + 71, + 107, + 134, + 71, + 145, + 93, + 192, + 220, + 55, + 87 + ] + }, + { + name: "const-2", + shape: [ + 8 + ], + type: "INT32", + data: [ + 51, + 72, + 31, + 234, + 29, + 76, + 162, + 208, + 167, + 124, + 224, + 122, + 185, + 252, + 226, + 118, + 134, + 64, + 38, + 6, + 71, + 102, + 33, + 134, + 65, + 213, + 16, + 120, + 57, + 19, + 131, + 30 + ] + }, + { + name: "result-0", + shape: [ + 1, + 12, + 12, + 3, + 8 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1, - 1 - ], - dilation: [ - 1, - 1, - 1 - ], - input_zp: -108, - weight_zp: 46, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 12, - 12, - 3, - 6 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 8, - 1, - 1, - 1, - 6 - ], - type: "INT8", - data: [ - 65, - 194, - 100, - 204, - 100, - 107, - 58, - 172, - 146, - 172, - 34, - 49, - 124, - 115, - 206, - 227, - 69, - 69, - 208, - 135, - 152, - 82, - 217, - 57, - 77, - 101, - 253, - 35, - 178, - 112, - 98, - 227, - 222, - 59, - 234, - 57, - 151, - 196, - 71, - 107, - 134, - 71, - 145, - 93, - 192, - 220, - 55, - 87 - ] - }, - { - name: "const-2", - shape: [ - 8 - ], - type: "INT32", - data: [ - 51, - 72, - 31, - 234, - 29, - 76, - 162, - 208, - 167, - 124, - 224, - 122, - 185, - 252, - 226, - 118, - 134, - 64, - 38, - 6, - 71, - 102, - 33, - 134, - 65, - 213, - 16, - 120, - 57, - 19, - 131, - 30 - ] - }, - { - name: "result-0", - shape: [ - 1, - 12, - 12, - 3, - 8 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongInputType_1x11x10x11x7_i32xi32_acci32_st111_pad000000_dilat111/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongInputType_1x11x10x11x7_i32xi32_acci32_st111_pad000000_dilat111/test.json index 9a3a13742..7dea9f72e 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongInputType_1x11x10x11x7_i32xi32_acci32_st111_pad000000_dilat111/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongInputType_1x11x10x11x7_i32xi32_acci32_st111_pad000000_dilat111/test.json @@ -5,181 +5,186 @@ _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, + 0, + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1, + 1 + ], + dilation: [ + 1, + 1, + 1 + ], + input_zp: 0, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 10, + 11, + 7 + ], + type: "INT32" + }, + { + name: "const-1", + shape: [ + 2, + 1, + 1, + 1, + 7 + ], + type: "INT32", + data: [ + 230, + 155, + 233, + 43, + 97, + 159, + 197, + 213, + 122, + 46, + 226, + 87, + 112, + 161, + 44, + 35, + 163, + 13, + 237, + 201, + 95, + 235, + 255, + 117, + 187, + 163, + 140, + 53, + 27, + 0, + 187, + 237, + 118, + 96, + 201, + 162, + 176, + 240, + 43, + 121, + 154, + 64, + 71, + 65, + 126, + 194, + 244, + 42, + 99, + 212, + 70, + 85, + 21, + 71, + 109, + 27 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 157, + 176, + 100, + 187, + 137, + 214, + 178, + 188 + ] + }, + { + name: "result-0", + shape: [ + 1, + 11, + 10, + 11, + 2 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1, - 1 - ], - dilation: [ - 1, - 1, - 1 - ], - input_zp: 0, - 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, - 10, - 11, - 7 - ], - type: "INT32" - }, - { - name: "const-1", - shape: [ - 2, - 1, - 1, - 1, - 7 - ], - type: "INT32", - data: [ - 230, - 155, - 233, - 43, - 97, - 159, - 197, - 213, - 122, - 46, - 226, - 87, - 112, - 161, - 44, - 35, - 163, - 13, - 237, - 201, - 95, - 235, - 255, - 117, - 187, - 163, - 140, - 53, - 27, - 0, - 187, - 237, - 118, - 96, - 201, - 162, - 176, - 240, - 43, - 121, - 154, - 64, - 71, - 65, - 126, - 194, - 244, - 42, - 99, - 212, - 70, - 85, - 21, - 71, - 109, - 27 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT32", - data: [ - 157, - 176, - 100, - 187, - 137, - 214, - 178, - 188 - ] - }, - { - name: "result-0", - shape: [ - 1, - 11, - 10, - 11, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongOutputList_1x12x6x15x7_i8xi4_acci32_st111_pad000000_dilat111/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongOutputList_1x12x6x15x7_i8xi4_acci32_st111_pad000000_dilat111/test.json index 13f886dde..0f66d5931 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongOutputList_1x12x6x15x7_i8xi4_acci32_st111_pad000000_dilat111/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongOutputList_1x12x6x15x7_i8xi4_acci32_st111_pad000000_dilat111/test.json @@ -5,156 +5,161 @@ _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, + 0, + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1, + 1 + ], + dilation: [ + 1, + 1, + 1 + ], + input_zp: -100, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0", + "eiDummyOutput" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 12, + 6, + 15, + 7 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 5, + 1, + 1, + 1, + 7 + ], + type: "INT4", + data: [ + 160, + 57, + 237, + 199, + 38, + 124, + 210, + 239, + 245, + 57, + 228, + 246, + 60, + 122, + 211, + 26, + 65, + 13 + ] + }, + { + name: "const-2", + shape: [ + 5 + ], + type: "INT32", + data: [ + 68, + 4, + 78, + 182, + 90, + 10, + 170, + 233, + 10, + 93, + 125, + 81, + 189, + 186, + 118, + 104, + 223, + 187, + 220, + 218 + ] + }, + { + name: "result-0", + shape: [ + 1, + 12, + 6, + 15, + 5 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1, - 1 - ], - dilation: [ - 1, - 1, - 1 - ], - input_zp: -100, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ - "result-0", - "eiDummyOutput" + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 12, - 6, - 15, - 7 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 5, - 1, - 1, - 1, - 7 - ], - type: "INT4", - data: [ - 160, - 57, - 237, - 199, - 38, - 124, - 210, - 239, - 245, - 57, - 228, - 246, - 60, - 122, - 211, - 26, - 65, - 13 - ] - }, - { - name: "const-2", - shape: [ - 5 - ], - type: "INT32", - data: [ - 68, - 4, - 78, - 182, - 90, - 10, - 170, - 233, - 10, - 93, - 125, - 81, - 189, - 186, - 118, - 104, - 223, - 187, - 220, - 218 - ] - }, - { - name: "result-0", - shape: [ - 1, - 12, - 6, - 15, - 5 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongOutputType_1x10x7x13x9_i8xi4_acci32_st111_pad000000_dilat111/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongOutputType_1x10x7x13x9_i8xi4_acci32_st111_pad000000_dilat111/test.json index 7e1cfd9e6..45e1cfd0f 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongOutputType_1x10x7x13x9_i8xi4_acci32_st111_pad000000_dilat111/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongOutputType_1x10x7x13x9_i8xi4_acci32_st111_pad000000_dilat111/test.json @@ -5,177 +5,182 @@ _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, + 0, + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1, + 1 + ], + dilation: [ + 1, + 1, + 1 + ], + input_zp: -45, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 10, + 7, + 13, + 9 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 7, + 1, + 1, + 1, + 9 + ], + type: "INT4", + data: [ + 115, + 169, + 48, + 54, + 108, + 170, + 115, + 176, + 121, + 45, + 205, + 67, + 0, + 16, + 53, + 205, + 35, + 94, + 239, + 177, + 99, + 247, + 13, + 58, + 175, + 49, + 252, + 54, + 244, + 0, + 191, + 9 + ] + }, + { + name: "const-2", + shape: [ + 7 + ], + type: "INT32", + data: [ + 219, + 187, + 16, + 85, + 3, + 155, + 113, + 9, + 156, + 160, + 87, + 8, + 179, + 225, + 130, + 24, + 131, + 14, + 153, + 233, + 253, + 250, + 65, + 100, + 243, + 216, + 81, + 248 + ] + }, + { + name: "result-0", + shape: [ + 1, + 10, + 7, + 13, + 7 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1, - 1 - ], - dilation: [ - 1, - 1, - 1 - ], - input_zp: -45, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 10, - 7, - 13, - 9 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 7, - 1, - 1, - 1, - 9 - ], - type: "INT4", - data: [ - 115, - 169, - 48, - 54, - 108, - 170, - 115, - 176, - 121, - 45, - 205, - 67, - 0, - 16, - 53, - 205, - 35, - 94, - 239, - 177, - 99, - 247, - 13, - 58, - 175, - 49, - 252, - 54, - 244, - 0, - 191, - 9 - ] - }, - { - name: "const-2", - shape: [ - 7 - ], - type: "INT32", - data: [ - 219, - 187, - 16, - 85, - 3, - 155, - 113, - 9, - 156, - 160, - 87, - 8, - 179, - 225, - 130, - 24, - 131, - 14, - 153, - 233, - 253, - 250, - 65, - 100, - 243, - 216, - 81, - 248 - ] - }, - { - name: "result-0", - shape: [ - 1, - 10, - 7, - 13, - 7 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongRank_1x10x2x9x10x5_i8xi8_acci32_st111_pad000000_dilat111/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongRank_1x10x2x9x10x5_i8xi8_acci32_st111_pad000000_dilat111/test.json index 0ab7d2226..c7809c340 100644 --- a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongRank_1x10x2x9x10x5_i8xi8_acci32_st111_pad000000_dilat111/test.json +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongRank_1x10x2x9x10x5_i8xi8_acci32_st111_pad000000_dilat111/test.json @@ -5,286 +5,291 @@ _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, + 0, + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1, + 1 + ], + dilation: [ + 1, + 1, + 1 + ], + input_zp: -24, + weight_zp: -89, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 10, + 2, + 9, + 10, + 5 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 12, + 1, + 1, + 1, + 10 + ], + type: "INT8", + data: [ + 157, + 211, + 73, + 193, + 198, + 111, + 98, + 56, + 21, + 91, + 88, + 219, + 70, + 232, + 199, + 205, + 25, + 199, + 38, + 120, + 233, + 107, + 138, + 239, + 24, + 192, + 221, + 141, + 184, + 31, + 141, + 175, + 154, + 125, + 173, + 85, + 137, + 186, + 170, + 252, + 206, + 33, + 170, + 126, + 175, + 111, + 217, + 75, + 207, + 48, + 64, + 26, + 172, + 63, + 240, + 78, + 191, + 240, + 49, + 79, + 178, + 115, + 0, + 82, + 124, + 31, + 72, + 170, + 160, + 149, + 228, + 145, + 32, + 197, + 81, + 254, + 209, + 91, + 104, + 12, + 156, + 30, + 178, + 249, + 251, + 193, + 123, + 209, + 94, + 249, + 72, + 4, + 208, + 241, + 60, + 76, + 150, + 103, + 64, + 170, + 54, + 206, + 253, + 113, + 202, + 67, + 244, + 174, + 72, + 93, + 124, + 145, + 86, + 70, + 28, + 6, + 229, + 130, + 61, + 248 + ] + }, + { + name: "const-2", + shape: [ + 12 + ], + type: "INT32", + data: [ + 66, + 177, + 175, + 144, + 81, + 156, + 29, + 158, + 33, + 231, + 241, + 64, + 46, + 76, + 174, + 175, + 59, + 219, + 188, + 213, + 41, + 74, + 190, + 191, + 88, + 7, + 51, + 38, + 26, + 255, + 124, + 251, + 18, + 167, + 20, + 72, + 146, + 84, + 150, + 164, + 1, + 232, + 185, + 128, + 23, + 203, + 62, + 1 + ] + }, + { + name: "result-0", + shape: [ + 1, + 10, + 2, + 9, + 12 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV3D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1, - 1 - ], - dilation: [ - 1, - 1, - 1 - ], - input_zp: -24, - weight_zp: -89, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 10, - 2, - 9, - 10, - 5 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 12, - 1, - 1, - 1, - 10 - ], - type: "INT8", - data: [ - 157, - 211, - 73, - 193, - 198, - 111, - 98, - 56, - 21, - 91, - 88, - 219, - 70, - 232, - 199, - 205, - 25, - 199, - 38, - 120, - 233, - 107, - 138, - 239, - 24, - 192, - 221, - 141, - 184, - 31, - 141, - 175, - 154, - 125, - 173, - 85, - 137, - 186, - 170, - 252, - 206, - 33, - 170, - 126, - 175, - 111, - 217, - 75, - 207, - 48, - 64, - 26, - 172, - 63, - 240, - 78, - 191, - 240, - 49, - 79, - 178, - 115, - 0, - 82, - 124, - 31, - 72, - 170, - 160, - 149, - 228, - 145, - 32, - 197, - 81, - 254, - 209, - 91, - 104, - 12, - 156, - 30, - 178, - 249, - 251, - 193, - 123, - 209, - 94, - 249, - 72, - 4, - 208, - 241, - 60, - 76, - 150, - 103, - 64, - 170, - 54, - 206, - 253, - 113, - 202, - 67, - 244, - 174, - 72, - 93, - 124, - 145, - 86, - 70, - 28, - 6, - 229, - 130, - 61, - 248 - ] - }, - { - name: "const-2", - shape: [ - 12 - ], - type: "INT32", - data: [ - 66, - 177, - 175, - 144, - 81, - 156, - 29, - 158, - 33, - 231, - 241, - 64, - 46, - 76, - 174, - 175, - 59, - 219, - 188, - 213, - 41, - 74, - 190, - 191, - 88, - 7, - 51, - 38, - 26, - 255, - 124, - 251, - 18, - 167, - 20, - 72, - 146, - 84, - 150, - 164, - 1, - 232, - 185, - 128, - 23, - 203, - 62, - 1 - ] - }, - { - name: "result-0", - shape: [ - 1, - 10, - 2, - 9, - 12 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] -- cgit v1.2.1