diff options
Diffstat (limited to 'frameworks/tflite/operators/average_pool_2d_1x32x32x8_qu8_st12_padVALID_kern12/test_avg_pool2d_1x32x32x8_qu8_st12_padVALID_kern12.json')
-rw-r--r-- | frameworks/tflite/operators/average_pool_2d_1x32x32x8_qu8_st12_padVALID_kern12/test_avg_pool2d_1x32x32x8_qu8_st12_padVALID_kern12.json | 403 |
1 files changed, 204 insertions, 199 deletions
diff --git a/frameworks/tflite/operators/average_pool_2d_1x32x32x8_qu8_st12_padVALID_kern12/test_avg_pool2d_1x32x32x8_qu8_st12_padVALID_kern12.json b/frameworks/tflite/operators/average_pool_2d_1x32x32x8_qu8_st12_padVALID_kern12/test_avg_pool2d_1x32x32x8_qu8_st12_padVALID_kern12.json index 771d17348..f6f3fdef5 100644 --- a/frameworks/tflite/operators/average_pool_2d_1x32x32x8_qu8_st12_padVALID_kern12/test_avg_pool2d_1x32x32x8_qu8_st12_padVALID_kern12.json +++ b/frameworks/tflite/operators/average_pool_2d_1x32x32x8_qu8_st12_padVALID_kern12/test_avg_pool2d_1x32x32x8_qu8_st12_padVALID_kern12.json @@ -5,217 +5,222 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - 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_0" - ] - }, - { - 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_0" + name: "main", + operators: [ + { + 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_0" + ] + }, + { + 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_0" + ], + outputs: [ + "layer_1" + ] + }, + { + op: "AVG_POOL2D", + attribute_type: "PoolAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0 + ], + kernel: [ + 1, + 2 + ], + stride: [ + 1, + 2 + ], + input_zp: 0, + output_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "layer_1" + ], + outputs: [ + "layer_2" + ] + }, + { + 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_2" + ], + outputs: [ + "layer_3" + ] + }, + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: -1, + output_zp: 127, + multiplier: [ + 1073741824 + ], + shift: [ + 30 + ], + scale32: true, + double_round: false, + per_channel: false + }, + inputs: [ + "layer_3" + ], + outputs: [ + "TosaOutput_0" + ] + } ], - outputs: [ - "layer_1" - ] - }, - { - op: "AVG_POOL2D", - attribute_type: "PoolAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 0 - ], - kernel: [ - 1, - 2 - ], - stride: [ - 1, - 2 - ], - input_zp: 0, - output_zp: 0, - accum_dtype: "INT32" - }, - inputs: [ - "layer_1" - ], - outputs: [ - "layer_2" - ] - }, - { - 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_2" - ], - outputs: [ - "layer_3" - ] - }, - { - op: "RESCALE", - attribute_type: "RescaleAttribute", - attribute: { - input_zp: -1, - output_zp: 127, - multiplier: [ - 1073741824 - ], - shift: [ - 30 - ], - scale32: true, - double_round: false, - per_channel: false - }, - inputs: [ - "layer_3" - ], - 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, - 32, - 16, - 8 - ], - type: "UINT8", - data: [ + ] + }, + { + name: "TosaOutput_0", + shape: [ + 1, + 32, + 16, + 8 + ], + type: "UINT8", + data: [ - ] - }, - { - name: "layer_0", - shape: [ - 1, - 32, - 32, - 8 - ], - type: "INT8", - data: [ + ] + }, + { + name: "layer_0", + shape: [ + 1, + 32, + 32, + 8 + ], + type: "INT8", + data: [ - ] - }, - { - name: "layer_1", - shape: [ - 1, - 32, - 32, - 8 - ], - type: "INT8", - data: [ + ] + }, + { + name: "layer_1", + shape: [ + 1, + 32, + 32, + 8 + ], + type: "INT8", + data: [ - ] - }, - { - name: "layer_2", - shape: [ - 1, - 32, - 16, - 8 - ], - type: "INT8", - data: [ + ] + }, + { + name: "layer_2", + shape: [ + 1, + 32, + 16, + 8 + ], + type: "INT8", + data: [ - ] - }, - { - name: "layer_3", - shape: [ - 1, - 32, - 16, - 8 - ], - type: "INT8", - data: [ + ] + }, + { + name: "layer_3", + shape: [ + 1, + 32, + 16, + 8 + ], + type: "INT8", + data: [ + ] + } + ], + inputs: [ + "TosaInput_0" + ], + outputs: [ + "TosaOutput_0" ] } - ], - inputs: [ - "TosaInput_0" - ], - outputs: [ - "TosaOutput_0" ] } ] |