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_bias_3x3_1x32x32x8_qu8_st11_padVALID_dilat22/test_depthwise_conv2d_bias_3x3_1x32x32x8_qu8_st11_padVALID_dilat22.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_bias_3x3_1x32x32x8_qu8_st11_padVALID_dilat22/test_depthwise_conv2d_bias_3x3_1x32x32x8_qu8_st11_padVALID_dilat22.json')
-rw-r--r-- | frameworks/tflite/operators/depthwise_conv_2d_bias_3x3_1x32x32x8_qu8_st11_padVALID_dilat22/test_depthwise_conv2d_bias_3x3_1x32x32x8_qu8_st11_padVALID_dilat22.json | 1219 |
1 files changed, 612 insertions, 607 deletions
diff --git a/frameworks/tflite/operators/depthwise_conv_2d_bias_3x3_1x32x32x8_qu8_st11_padVALID_dilat22/test_depthwise_conv2d_bias_3x3_1x32x32x8_qu8_st11_padVALID_dilat22.json b/frameworks/tflite/operators/depthwise_conv_2d_bias_3x3_1x32x32x8_qu8_st11_padVALID_dilat22/test_depthwise_conv2d_bias_3x3_1x32x32x8_qu8_st11_padVALID_dilat22.json index de7a730e4..ea66ae896 100644 --- a/frameworks/tflite/operators/depthwise_conv_2d_bias_3x3_1x32x32x8_qu8_st11_padVALID_dilat22/test_depthwise_conv2d_bias_3x3_1x32x32x8_qu8_st11_padVALID_dilat22.json +++ b/frameworks/tflite/operators/depthwise_conv_2d_bias_3x3_1x32x32x8_qu8_st11_padVALID_dilat22/test_depthwise_conv2d_bias_3x3_1x32x32x8_qu8_st11_padVALID_dilat22.json @@ -5,631 +5,636 @@ _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: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 127, + output_zp: -1, + multiplier: [ + 1073741824 + ], + shift: [ + 30 + ], + scale32: true, + double_round: false, + per_channel: false + }, + inputs: [ + "TosaInput_0" + ], + outputs: [ + "layer_3" + ] + }, + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: -1, + output_zp: -1, + multiplier: [ + 1073741824 + ], + shift: [ + 30 + ], + scale32: true, + double_round: true, + per_channel: false + }, + inputs: [ + "layer_3" + ], + outputs: [ + "layer_4" + ] + }, + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 1, + 2, + 3, + 0 + ] + }, + inputs: [ + "layer_2" + ], + outputs: [ + "layer_5" + ] + }, + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 3, + 3, + 8, + 2 + ] + }, + inputs: [ + "layer_5" + ], + outputs: [ + "layer_6" + ] + }, + { + op: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 2, + 2 + ], + input_zp: -1, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "layer_4", + "layer_6", + "layer_1" + ], + outputs: [ + "layer_7" + ] + }, + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 0, + output_zp: 9, + multiplier: [ + 1289733168, + 1659333964, + 1756807644, + 1616530809, + 1805805745, + 1813468690, + 1682068509, + 1812131591, + 1731250513, + 1476360945, + 1677113882, + 1743763257, + 1797116533, + 1695995390, + 1633947430, + 1732167770 + ], + shift: [ + 40, + 40, + 40, + 40, + 40, + 40, + 40, + 40, + 40, + 40, + 40, + 40, + 40, + 40, + 40, + 40 + ], + scale32: true, + double_round: true, + per_channel: true + }, + inputs: [ + "layer_7" + ], + outputs: [ + "layer_8" + ] + }, + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 9, + output_zp: 9, + multiplier: [ + 1073741824 + ], + shift: [ + 30 + ], + scale32: true, + double_round: true, + per_channel: false + }, + inputs: [ + "layer_8" + ], + outputs: [ + "layer_9" + ] + }, + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 9, + output_zp: 137, + multiplier: [ + 1073741824 + ], + shift: [ + 30 + ], + scale32: true, + double_round: false, + per_channel: false + }, + inputs: [ + "layer_9" + ], + outputs: [ + "TosaOutput_0" + ] + } ], - outputs: [ - "layer_2" - ] - }, - { - op: "RESCALE", - attribute_type: "RescaleAttribute", - attribute: { - input_zp: 127, - output_zp: -1, - multiplier: [ - 1073741824 - ], - shift: [ - 30 - ], - scale32: true, - double_round: false, - per_channel: false - }, - inputs: [ - "TosaInput_0" - ], - outputs: [ - "layer_3" - ] - }, - { - op: "RESCALE", - attribute_type: "RescaleAttribute", - attribute: { - input_zp: -1, - output_zp: -1, - multiplier: [ - 1073741824 - ], - shift: [ - 30 - ], - scale32: true, - double_round: true, - per_channel: false - }, - inputs: [ - "layer_3" - ], - outputs: [ - "layer_4" - ] - }, - { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 1, - 2, - 3, - 0 - ] - }, - inputs: [ - "layer_2" - ], - outputs: [ - "layer_5" - ] - }, - { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 3, - 3, - 8, - 2 - ] - }, - inputs: [ - "layer_5" - ], - outputs: [ - "layer_6" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 2, - 2 - ], - input_zp: -1, - weight_zp: 0, - accum_dtype: "INT32" - }, - inputs: [ - "layer_4", - "layer_6", - "layer_1" - ], - outputs: [ - "layer_7" - ] - }, - { - op: "RESCALE", - attribute_type: "RescaleAttribute", - attribute: { - input_zp: 0, - output_zp: 9, - multiplier: [ - 1289733168, - 1659333964, - 1756807644, - 1616530809, - 1805805745, - 1813468690, - 1682068509, - 1812131591, - 1731250513, - 1476360945, - 1677113882, - 1743763257, - 1797116533, - 1695995390, - 1633947430, - 1732167770 - ], - shift: [ - 40, - 40, - 40, - 40, - 40, - 40, - 40, - 40, - 40, - 40, - 40, - 40, - 40, - 40, - 40, - 40 - ], - scale32: true, - double_round: true, - per_channel: true - }, - inputs: [ - "layer_7" - ], - outputs: [ - "layer_8" - ] - }, - { - op: "RESCALE", - attribute_type: "RescaleAttribute", - attribute: { - input_zp: 9, - output_zp: 9, - multiplier: [ - 1073741824 - ], - shift: [ - 30 - ], - scale32: true, - double_round: true, - per_channel: false - }, - inputs: [ - "layer_8" - ], - outputs: [ - "layer_9" - ] - }, - { - op: "RESCALE", - attribute_type: "RescaleAttribute", - attribute: { - input_zp: 9, - output_zp: 137, - multiplier: [ - 1073741824 - ], - shift: [ - 30 - ], - scale32: true, - double_round: false, - per_channel: false - }, - inputs: [ - "layer_9" - ], - outputs: [ - "TosaOutput_0" - ] - } - ], - tensors: [ - { - name: "TosaInput_0", - shape: [ - 1, - 32, - 32, - 8 - ], - type: "UINT8", - data: [ + tensors: [ + { + name: "TosaInput_0", + shape: [ + 1, + 32, + 32, + 8 + ], + type: "UINT8", + data: [ - ] - }, - { - name: "TosaOutput_0", - shape: [ - 1, - 28, - 28, - 16 - ], - type: "UINT8", - data: [ + ] + }, + { + name: "TosaOutput_0", + shape: [ + 1, + 28, + 28, + 16 + ], + type: "UINT8", + 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: [ - 115, - 0, - 0, - 0, - 65, - 240, - 255, - 255, - 71, - 231, - 255, - 255, - 240, - 28, - 0, - 0, - 245, - 240, - 255, - 255, - 255, - 1, - 0, - 0, - 209, - 23, - 0, - 0, - 252, - 249, - 255, - 255, - 138, - 14, - 0, - 0, - 244, - 237, - 255, - 255, - 184, - 226, - 255, - 255, - 17, - 237, - 255, - 255, - 70, - 233, - 255, - 255, - 241, - 242, - 255, - 255, - 177, - 253, - 255, - 255, - 226, - 242, - 255, - 255 - ] - }, - { - name: "layer_2", - shape: [ - 1, - 3, - 3, - 16 - ], - type: "INT8", - data: [ - 31, - 142, - 193, - 180, - 41, - 87, - 184, - 117, - 50, - 130, - 138, - 103, - 187, - 152, - 46, - 31, - 206, - 138, - 198, - 129, - 217, - 60, - 4, - 241, - 212, - 56, - 203, - 127, - 41, - 94, - 176, - 129, - 207, - 46, - 158, - 124, - 202, - 125, - 224, - 90, - 164, - 202, - 220, - 184, - 195, - 129, - 155, - 50, - 127, - 7, - 22, - 106, - 51, - 174, - 127, - 61, - 86, - 123, - 246, - 101, - 121, - 203, - 136, - 36, - 32, - 212, - 23, - 183, - 62, - 162, - 233, - 129, - 47, - 189, - 151, - 25, - 169, - 147, - 112, - 65, - 160, - 101, - 88, - 27, - 144, - 233, - 94, - 122, - 8, - 250, - 117, - 203, - 221, - 107, - 129, - 239, - 60, - 127, - 127, - 40, - 202, - 231, - 59, - 64, - 213, - 25, - 27, - 14, - 127, - 116, - 202, - 38, - 58, - 238, - 84, - 0, - 127, - 52, - 232, - 227, - 127, - 127, - 21, - 36, - 167, - 8, - 86, - 228, - 3, - 58, - 47, - 5, - 83, - 127, - 251, - 29, - 180, - 104, - 127, - 171, - 175, - 138, - 8, - 211 - ] - }, - { - name: "layer_3", - shape: [ - 1, - 32, - 32, - 8 - ], - 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: [ + 115, + 0, + 0, + 0, + 65, + 240, + 255, + 255, + 71, + 231, + 255, + 255, + 240, + 28, + 0, + 0, + 245, + 240, + 255, + 255, + 255, + 1, + 0, + 0, + 209, + 23, + 0, + 0, + 252, + 249, + 255, + 255, + 138, + 14, + 0, + 0, + 244, + 237, + 255, + 255, + 184, + 226, + 255, + 255, + 17, + 237, + 255, + 255, + 70, + 233, + 255, + 255, + 241, + 242, + 255, + 255, + 177, + 253, + 255, + 255, + 226, + 242, + 255, + 255 + ] + }, + { + name: "layer_2", + shape: [ + 1, + 3, + 3, + 16 + ], + type: "INT8", + data: [ + 31, + 142, + 193, + 180, + 41, + 87, + 184, + 117, + 50, + 130, + 138, + 103, + 187, + 152, + 46, + 31, + 206, + 138, + 198, + 129, + 217, + 60, + 4, + 241, + 212, + 56, + 203, + 127, + 41, + 94, + 176, + 129, + 207, + 46, + 158, + 124, + 202, + 125, + 224, + 90, + 164, + 202, + 220, + 184, + 195, + 129, + 155, + 50, + 127, + 7, + 22, + 106, + 51, + 174, + 127, + 61, + 86, + 123, + 246, + 101, + 121, + 203, + 136, + 36, + 32, + 212, + 23, + 183, + 62, + 162, + 233, + 129, + 47, + 189, + 151, + 25, + 169, + 147, + 112, + 65, + 160, + 101, + 88, + 27, + 144, + 233, + 94, + 122, + 8, + 250, + 117, + 203, + 221, + 107, + 129, + 239, + 60, + 127, + 127, + 40, + 202, + 231, + 59, + 64, + 213, + 25, + 27, + 14, + 127, + 116, + 202, + 38, + 58, + 238, + 84, + 0, + 127, + 52, + 232, + 227, + 127, + 127, + 21, + 36, + 167, + 8, + 86, + 228, + 3, + 58, + 47, + 5, + 83, + 127, + 251, + 29, + 180, + 104, + 127, + 171, + 175, + 138, + 8, + 211 + ] + }, + { + name: "layer_3", + shape: [ + 1, + 32, + 32, + 8 + ], + type: "INT8", + data: [ - ] - }, - { - name: "layer_4", - shape: [ - 1, - 32, - 32, - 8 - ], - type: "INT8", - data: [ + ] + }, + { + name: "layer_4", + shape: [ + 1, + 32, + 32, + 8 + ], + type: "INT8", + data: [ - ] - }, - { - name: "layer_5", - shape: [ - 3, - 3, - 16, - 1 - ], - type: "INT8", - data: [ + ] + }, + { + name: "layer_5", + shape: [ + 3, + 3, + 16, + 1 + ], + type: "INT8", + data: [ - ] - }, - { - name: "layer_6", - shape: [ - 3, - 3, - 8, - 2 - ], - type: "INT8", - data: [ + ] + }, + { + name: "layer_6", + shape: [ + 3, + 3, + 8, + 2 + ], + type: "INT8", + data: [ - ] - }, - { - name: "layer_7", - shape: [ - 1, - 28, - 28, - 16 - ], - type: "INT32", - data: [ + ] + }, + { + name: "layer_7", + shape: [ + 1, + 28, + 28, + 16 + ], + type: "INT32", + data: [ - ] - }, - { - name: "layer_8", - shape: [ - 1, - 28, - 28, - 16 - ], - type: "INT8", - data: [ + ] + }, + { + name: "layer_8", + shape: [ + 1, + 28, + 28, + 16 + ], + type: "INT8", + data: [ - ] - }, - { - name: "layer_9", - shape: [ - 1, - 28, - 28, - 16 - ], - type: "INT8", - data: [ + ] + }, + { + name: "layer_9", + shape: [ + 1, + 28, + 28, + 16 + ], + type: "INT8", + data: [ + ] + } + ], + inputs: [ + "TosaInput_0" + ], + outputs: [ + "TosaOutput_0" ] } - ], - inputs: [ - "TosaInput_0" - ], - outputs: [ - "TosaOutput_0" ] } ] |