diff options
Diffstat (limited to 'frameworks/tflite/operators/average_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11')
5 files changed, 555 insertions, 0 deletions
diff --git a/frameworks/tflite/operators/average_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/Conformance-TosaOutput_0.json b/frameworks/tflite/operators/average_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/Conformance-TosaOutput_0.json new file mode 100644 index 000000000..d0bec65ed --- /dev/null +++ b/frameworks/tflite/operators/average_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/Conformance-TosaOutput_0.json @@ -0,0 +1,111 @@ +{ + "type": "int32", + "data": [ + [ + [ + [ + -107, + 6, + -86, + -61 + ], + [ + 105, + 2, + 70, + -19 + ], + [ + 33, + -39, + 125, + 116 + ], + [ + -89, + -128, + -29, + 42 + ] + ], + [ + [ + -106, + -106, + 43, + -110 + ], + [ + -39, + 62, + -43, + -30 + ], + [ + 95, + 102, + 35, + -5 + ], + [ + 100, + 21, + 68, + -67 + ] + ], + [ + [ + -124, + -81, + 117, + -91 + ], + [ + 85, + -109, + 69, + -97 + ], + [ + -95, + 125, + 93, + 51 + ], + [ + 63, + 52, + -124, + -117 + ] + ], + [ + [ + -77, + 9, + 113, + 94 + ], + [ + 98, + -80, + 127, + 69 + ], + [ + 38, + -105, + -120, + -65 + ], + [ + 85, + -79, + 104, + 44 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/frameworks/tflite/operators/average_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/desc.json b/frameworks/tflite/operators/average_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/desc.json new file mode 100644 index 000000000..7fa6004db --- /dev/null +++ b/frameworks/tflite/operators/average_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/desc.json @@ -0,0 +1,19 @@ +{ + "tosa_file": "test_avg_pool2d_1x4x4x4_qi8_st11_padSAME_kern11.json", + "ifm_name": [ + "TosaInput_0" + ], + "ifm_file": [ + "placeholder_0.npy" + ], + "ofm_name": [ + "TosaOutput_0" + ], + "ofm_file": [ + "output_0.npy" + ], + "expected_failure": false, + "expected_result_file": [ + "Conformance-TosaOutput_0.npy" + ] +}
\ No newline at end of file diff --git a/frameworks/tflite/operators/average_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/model-tflite.json b/frameworks/tflite/operators/average_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/model-tflite.json new file mode 100644 index 000000000..71f677e52 --- /dev/null +++ b/frameworks/tflite/operators/average_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/model-tflite.json @@ -0,0 +1,237 @@ +{ + version: 3, + operator_codes: [ + { + deprecated_builtin_code: 1, + version: 2, + builtin_code: "AVERAGE_POOL_2D" + } + ], + subgraphs: [ + { + tensors: [ + { + shape: [ + 1, + 4, + 4, + 4 + ], + type: "INT8", + buffer: 1, + name: "serving_default_placeholder_0:0", + quantization: { + scale: [ + 0.015682 + ], + zero_point: [ + -1 + ], + details_type: "NONE", + quantized_dimension: 0 + }, + is_variable: false + }, + { + shape: [ + 1, + 4, + 4, + 4 + ], + type: "INT8", + buffer: 2, + name: "PartitionedCall:0", + quantization: { + scale: [ + 0.015682 + ], + zero_point: [ + -1 + ], + details_type: "NONE", + quantized_dimension: 0 + }, + is_variable: false + } + ], + inputs: [ + 0 + ], + outputs: [ + 1 + ], + operators: [ + { + opcode_index: 0, + inputs: [ + 0 + ], + outputs: [ + 1 + ], + builtin_options_type: "Pool2DOptions", + builtin_options: { + padding: "SAME", + stride_w: 1, + stride_h: 1, + filter_width: 1, + filter_height: 1, + fused_activation_function: "NONE" + }, + custom_options_format: "FLEXBUFFERS" + } + ], + name: "main" + } + ], + description: "MLIR Converted.", + buffers: [ + { + }, + { + }, + { + }, + { + data: [ + 49, + 46, + 49, + 52, + 46, + 48, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + data: [ + 12, + 0, + 0, + 0, + 8, + 0, + 14, + 0, + 8, + 0, + 4, + 0, + 8, + 0, + 0, + 0, + 16, + 0, + 0, + 0, + 40, + 0, + 0, + 0, + 0, + 0, + 6, + 0, + 8, + 0, + 4, + 0, + 6, + 0, + 0, + 0, + 4, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 235, + 3, + 0, + 0, + 0, + 0, + 10, + 0, + 16, + 0, + 12, + 0, + 8, + 0, + 4, + 0, + 10, + 0, + 0, + 0, + 3, + 0, + 0, + 0, + 2, + 0, + 0, + 0, + 4, + 0, + 0, + 0, + 5, + 0, + 0, + 0, + 50, + 46, + 57, + 46, + 48, + 0, + 0, + 0 + ] + } + ], + metadata: [ + { + name: "min_runtime_version", + buffer: 3 + }, + { + name: "CONVERSION_METADATA", + buffer: 4 + } + ], + signature_defs: [ + { + inputs: [ + { + name: "placeholder_0", + tensor_index: 0 + } + ], + outputs: [ + { + name: "output_0", + tensor_index: 1 + } + ], + method_name: "serving_default", + subgraph_index: 0 + } + ] +} diff --git a/frameworks/tflite/operators/average_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/placeholder_0.json b/frameworks/tflite/operators/average_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/placeholder_0.json new file mode 100644 index 000000000..d0bec65ed --- /dev/null +++ b/frameworks/tflite/operators/average_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/placeholder_0.json @@ -0,0 +1,111 @@ +{ + "type": "int32", + "data": [ + [ + [ + [ + -107, + 6, + -86, + -61 + ], + [ + 105, + 2, + 70, + -19 + ], + [ + 33, + -39, + 125, + 116 + ], + [ + -89, + -128, + -29, + 42 + ] + ], + [ + [ + -106, + -106, + 43, + -110 + ], + [ + -39, + 62, + -43, + -30 + ], + [ + 95, + 102, + 35, + -5 + ], + [ + 100, + 21, + 68, + -67 + ] + ], + [ + [ + -124, + -81, + 117, + -91 + ], + [ + 85, + -109, + 69, + -97 + ], + [ + -95, + 125, + 93, + 51 + ], + [ + 63, + 52, + -124, + -117 + ] + ], + [ + [ + -77, + 9, + 113, + 94 + ], + [ + 98, + -80, + 127, + 69 + ], + [ + 38, + -105, + -120, + -65 + ], + [ + 85, + -79, + 104, + 44 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/frameworks/tflite/operators/average_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/test_avg_pool2d_1x4x4x4_qi8_st11_padSAME_kern11.json b/frameworks/tflite/operators/average_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/test_avg_pool2d_1x4x4x4_qi8_st11_padSAME_kern11.json new file mode 100644 index 000000000..6553a5d8f --- /dev/null +++ b/frameworks/tflite/operators/average_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/test_avg_pool2d_1x4x4x4_qi8_st11_padSAME_kern11.json @@ -0,0 +1,77 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "AVG_POOL2D", + attribute_type: "PoolAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0 + ], + kernel: [ + 1, + 1 + ], + stride: [ + 1, + 1 + ], + input_zp: 0, + output_zp: 0 + }, + inputs: [ + "TosaInput_0" + ], + outputs: [ + "TosaOutput_0" + ] + } + ], + tensors: [ + { + name: "TosaInput_0", + shape: [ + 1, + 4, + 4, + 4 + ], + type: "INT8", + data: [ + + ] + }, + { + name: "TosaOutput_0", + shape: [ + 1, + 4, + 4, + 4 + ], + type: "INT8", + data: [ + + ] + } + ], + inputs: [ + "TosaInput_0" + ], + outputs: [ + "TosaOutput_0" + ] + } + ] +} |