diff options
Diffstat (limited to 'frameworks/tflite/operators/max_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11')
5 files changed, 555 insertions, 0 deletions
diff --git a/frameworks/tflite/operators/max_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/Conformance-TosaOutput_0.json b/frameworks/tflite/operators/max_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/Conformance-TosaOutput_0.json new file mode 100644 index 000000000..805997051 --- /dev/null +++ b/frameworks/tflite/operators/max_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/Conformance-TosaOutput_0.json @@ -0,0 +1,111 @@ +{ + "type": "int32", + "data": [ + [ + [ + [ + 33, + 33, + -1, + -89 + ], + [ + 86, + -87, + -128, + 59 + ], + [ + -75, + 7, + -48, + -54 + ], + [ + 101, + -128, + 54, + -83 + ] + ], + [ + [ + 121, + -99, + 116, + -69 + ], + [ + -44, + -103, + -25, + 103 + ], + [ + -91, + -38, + 114, + 106 + ], + [ + 33, + -43, + 56, + 122 + ] + ], + [ + [ + 3, + -16, + -11, + -27 + ], + [ + 117, + -62, + -38, + -23 + ], + [ + -91, + -116, + 75, + -128 + ], + [ + -80, + -19, + 50, + -35 + ] + ], + [ + [ + -45, + -118, + 14, + 14 + ], + [ + 127, + 72, + -61, + 107 + ], + [ + 60, + -48, + 35, + 19 + ], + [ + 25, + 93, + -48, + 80 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/frameworks/tflite/operators/max_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/desc.json b/frameworks/tflite/operators/max_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/desc.json new file mode 100644 index 000000000..051ab9428 --- /dev/null +++ b/frameworks/tflite/operators/max_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/desc.json @@ -0,0 +1,19 @@ +{ + "tosa_file": "test_max_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/max_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/model-tflite.json b/frameworks/tflite/operators/max_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/model-tflite.json new file mode 100644 index 000000000..b60f2eaed --- /dev/null +++ b/frameworks/tflite/operators/max_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/model-tflite.json @@ -0,0 +1,237 @@ +{ + version: 3, + operator_codes: [ + { + deprecated_builtin_code: 17, + version: 2, + builtin_code: "MAX_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/max_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/placeholder_0.json b/frameworks/tflite/operators/max_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/placeholder_0.json new file mode 100644 index 000000000..805997051 --- /dev/null +++ b/frameworks/tflite/operators/max_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/placeholder_0.json @@ -0,0 +1,111 @@ +{ + "type": "int32", + "data": [ + [ + [ + [ + 33, + 33, + -1, + -89 + ], + [ + 86, + -87, + -128, + 59 + ], + [ + -75, + 7, + -48, + -54 + ], + [ + 101, + -128, + 54, + -83 + ] + ], + [ + [ + 121, + -99, + 116, + -69 + ], + [ + -44, + -103, + -25, + 103 + ], + [ + -91, + -38, + 114, + 106 + ], + [ + 33, + -43, + 56, + 122 + ] + ], + [ + [ + 3, + -16, + -11, + -27 + ], + [ + 117, + -62, + -38, + -23 + ], + [ + -91, + -116, + 75, + -128 + ], + [ + -80, + -19, + 50, + -35 + ] + ], + [ + [ + -45, + -118, + 14, + 14 + ], + [ + 127, + 72, + -61, + 107 + ], + [ + 60, + -48, + 35, + 19 + ], + [ + 25, + 93, + -48, + 80 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/frameworks/tflite/operators/max_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/test_max_pool2d_1x4x4x4_qi8_st11_padSAME_kern11.json b/frameworks/tflite/operators/max_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/test_max_pool2d_1x4x4x4_qi8_st11_padSAME_kern11.json new file mode 100644 index 000000000..4ff428ef5 --- /dev/null +++ b/frameworks/tflite/operators/max_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/test_max_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: "MAX_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" + ] + } + ] +} |