diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2023-01-16 15:17:52 +0000 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2023-01-16 16:40:57 +0000 |
commit | b08fb3e856b7757403ff9aafc9487f9c0ad61fe7 (patch) | |
tree | 4b4737ff52e92c1c17922a972384930953a26a61 /frameworks/tflite/operators/depthwise_conv_2d_1x1_1x32x32x8_qi8_st11_padSAME_dilat21/test_depthwise_conv2d_1x1_1x32x32x8_qi8_st11_padSAME_dilat21.json | |
parent | 007a2c7c0743b002587cd5e7b4c6b6acbcaedff8 (diff) | |
download | conformance_tests-b08fb3e856b7757403ff9aafc9487f9c0ad61fe7.tar.gz |
Regen tests after control flow operator support
Includes removing 3 tests that are not needed anymore.
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I2c62d95a7b053e9016000d90125e00862f94200e
Diffstat (limited to 'frameworks/tflite/operators/depthwise_conv_2d_1x1_1x32x32x8_qi8_st11_padSAME_dilat21/test_depthwise_conv2d_1x1_1x32x32x8_qi8_st11_padSAME_dilat21.json')
-rw-r--r-- | frameworks/tflite/operators/depthwise_conv_2d_1x1_1x32x32x8_qi8_st11_padSAME_dilat21/test_depthwise_conv2d_1x1_1x32x32x8_qi8_st11_padSAME_dilat21.json | 683 |
1 files changed, 344 insertions, 339 deletions
diff --git a/frameworks/tflite/operators/depthwise_conv_2d_1x1_1x32x32x8_qi8_st11_padSAME_dilat21/test_depthwise_conv2d_1x1_1x32x32x8_qi8_st11_padSAME_dilat21.json b/frameworks/tflite/operators/depthwise_conv_2d_1x1_1x32x32x8_qi8_st11_padSAME_dilat21/test_depthwise_conv2d_1x1_1x32x32x8_qi8_st11_padSAME_dilat21.json index 09e66491a..1989fbf7c 100644 --- a/frameworks/tflite/operators/depthwise_conv_2d_1x1_1x32x32x8_qi8_st11_padSAME_dilat21/test_depthwise_conv2d_1x1_1x32x32x8_qi8_st11_padSAME_dilat21.json +++ b/frameworks/tflite/operators/depthwise_conv_2d_1x1_1x32x32x8_qi8_st11_padSAME_dilat21/test_depthwise_conv2d_1x1_1x32x32x8_qi8_st11_padSAME_dilat21.json @@ -5,359 +5,364 @@ _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: [ - "layer_0" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "layer_0" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "layer_1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "layer_1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "layer_2" + ] + }, + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 1, + 2, + 3, + 0 + ] + }, + inputs: [ + "layer_2" + ], + outputs: [ + "layer_3" + ] + }, + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 1, + 1, + 8, + 2 + ] + }, + inputs: [ + "layer_3" + ], + outputs: [ + "layer_4" + ] + }, + { + op: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 2, + 1 + ], + input_zp: 0, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "TosaInput_0", + "layer_4", + "layer_1" + ], + outputs: [ + "layer_5" + ] + }, + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 0, + output_zp: -1, + multiplier: [ + 2072913594, + 1482336472, + 1938950885, + 1749241572, + 1077647974, + 1331307415, + 1180952066, + 1858315588, + 1229813626, + 2078664008, + 1908438534, + 1729325223, + 1776415501, + 1108276604, + 1373859823, + 1082204504 + ], + shift: [ + 41, + 40, + 40, + 38, + 37, + 39, + 41, + 39, + 40, + 38, + 38, + 38, + 39, + 41, + 38, + 37 + ], + scale32: true, + double_round: true, + per_channel: true + }, + inputs: [ + "layer_5" + ], + outputs: [ + "TosaOutput_0" + ] + } ], - outputs: [ - "layer_2" - ] - }, - { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 1, - 2, - 3, - 0 - ] - }, - inputs: [ - "layer_2" - ], - outputs: [ - "layer_3" - ] - }, - { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 1, - 1, - 8, - 2 - ] - }, - inputs: [ - "layer_3" - ], - outputs: [ - "layer_4" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 2, - 1 - ], - input_zp: 0, - weight_zp: 0, - accum_dtype: "INT32" - }, - inputs: [ - "TosaInput_0", - "layer_4", - "layer_1" - ], - outputs: [ - "layer_5" - ] - }, - { - op: "RESCALE", - attribute_type: "RescaleAttribute", - attribute: { - input_zp: 0, - output_zp: -1, - multiplier: [ - 2072913594, - 1482336472, - 1938950885, - 1749241572, - 1077647974, - 1331307415, - 1180952066, - 1858315588, - 1229813626, - 2078664008, - 1908438534, - 1729325223, - 1776415501, - 1108276604, - 1373859823, - 1082204504 - ], - shift: [ - 41, - 40, - 40, - 38, - 37, - 39, - 41, - 39, - 40, - 38, - 38, - 38, - 39, - 41, - 38, - 37 - ], - scale32: true, - double_round: true, - per_channel: true - }, - inputs: [ - "layer_5" - ], - outputs: [ - "TosaOutput_0" - ] - } - ], - tensors: [ - { - name: "TosaInput_0", - shape: [ - 1, - 32, - 32, - 8 - ], - type: "INT8", - data: [ + tensors: [ + { + name: "TosaInput_0", + shape: [ + 1, + 32, + 32, + 8 + ], + type: "INT8", + data: [ - ] - }, - { - name: "TosaOutput_0", - shape: [ - 1, - 32, - 32, - 16 - ], - type: "INT8", - data: [ + ] + }, + { + name: "TosaOutput_0", + shape: [ + 1, + 32, + 32, + 16 + ], + type: "INT8", + data: [ - ] - }, - { - name: "layer_0", - shape: [ - 4 - ], - type: "INT32", - data: [ - 1, - 0, - 0, - 0, - 2, - 0, - 0, - 0, - 3, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] - }, - { - name: "layer_1", - shape: [ - 16 - ], - type: "INT32", - data: [ - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] - }, - { - name: "layer_2", - shape: [ - 1, - 1, - 1, - 16 - ], - type: "INT8", - data: [ - 129, - 129, - 129, - 129, - 127, - 127, - 129, - 127, - 127, - 129, - 127, - 129, - 127, - 129, - 127, - 127 - ] - }, - { - name: "layer_3", - shape: [ - 1, - 1, - 16, - 1 - ], - type: "INT8", - data: [ + ] + }, + { + name: "layer_0", + shape: [ + 4 + ], + type: "INT32", + data: [ + 1, + 0, + 0, + 0, + 2, + 0, + 0, + 0, + 3, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + name: "layer_1", + shape: [ + 16 + ], + type: "INT32", + data: [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + name: "layer_2", + shape: [ + 1, + 1, + 1, + 16 + ], + type: "INT8", + data: [ + 129, + 129, + 129, + 129, + 127, + 127, + 129, + 127, + 127, + 129, + 127, + 129, + 127, + 129, + 127, + 127 + ] + }, + { + name: "layer_3", + shape: [ + 1, + 1, + 16, + 1 + ], + type: "INT8", + data: [ - ] - }, - { - name: "layer_4", - shape: [ - 1, - 1, - 8, - 2 - ], - type: "INT8", - data: [ + ] + }, + { + name: "layer_4", + shape: [ + 1, + 1, + 8, + 2 + ], + type: "INT8", + data: [ - ] - }, - { - name: "layer_5", - shape: [ - 1, - 32, - 32, - 16 - ], - type: "INT32", - data: [ + ] + }, + { + name: "layer_5", + shape: [ + 1, + 32, + 32, + 16 + ], + type: "INT32", + data: [ + ] + } + ], + inputs: [ + "TosaInput_0" + ], + outputs: [ + "TosaOutput_0" ] } - ], - inputs: [ - "TosaInput_0" - ], - outputs: [ - "TosaOutput_0" ] } ] |