From e2ac2482baa202af7fe759a6b58d9bdd75168b6a Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Fri, 17 Jun 2022 13:06:00 +0100 Subject: Updating framework tests for v0.30.0 release Signed-off-by: Jeremy Johnson Change-Id: I216edc7080a64aa481deb192253295a006fa4373 --- ...x_pool2d_1x8x4x17_qu8_st21_padVALID_kern21.json | 221 +++++++++++++++++++++ 1 file changed, 221 insertions(+) create mode 100644 frameworks/tflite/operators/max_pool_2d_1x8x4x17_qu8_st21_padVALID_kern21/test_max_pool2d_1x8x4x17_qu8_st21_padVALID_kern21.json (limited to 'frameworks/tflite/operators/max_pool_2d_1x8x4x17_qu8_st21_padVALID_kern21/test_max_pool2d_1x8x4x17_qu8_st21_padVALID_kern21.json') diff --git a/frameworks/tflite/operators/max_pool_2d_1x8x4x17_qu8_st21_padVALID_kern21/test_max_pool2d_1x8x4x17_qu8_st21_padVALID_kern21.json b/frameworks/tflite/operators/max_pool_2d_1x8x4x17_qu8_st21_padVALID_kern21/test_max_pool2d_1x8x4x17_qu8_st21_padVALID_kern21.json new file mode 100644 index 000000000..7edbaaa45 --- /dev/null +++ b/frameworks/tflite/operators/max_pool_2d_1x8x4x17_qu8_st21_padVALID_kern21/test_max_pool2d_1x8x4x17_qu8_st21_padVALID_kern21.json @@ -0,0 +1,221 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + 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: "MAX_POOL2D", + attribute_type: "PoolAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0 + ], + kernel: [ + 2, + 1 + ], + stride: [ + 2, + 1 + ], + input_zp: 0, + output_zp: 0 + }, + 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, + 8, + 4, + 17 + ], + type: "UINT8", + data: [ + + ] + }, + { + name: "TosaOutput_0", + shape: [ + 1, + 4, + 4, + 17 + ], + type: "UINT8", + data: [ + + ] + }, + { + name: "layer_0", + shape: [ + 1, + 8, + 4, + 17 + ], + type: "INT8", + data: [ + + ] + }, + { + name: "layer_1", + shape: [ + 1, + 8, + 4, + 17 + ], + type: "INT8", + data: [ + + ] + }, + { + name: "layer_2", + shape: [ + 1, + 4, + 4, + 17 + ], + type: "INT8", + data: [ + + ] + }, + { + name: "layer_3", + shape: [ + 1, + 4, + 4, + 17 + ], + type: "INT8", + data: [ + + ] + } + ], + inputs: [ + "TosaInput_0" + ], + outputs: [ + "TosaOutput_0" + ] + } + ] +} -- cgit v1.2.1