diff options
Diffstat (limited to 'frameworks/tflite/operators/concatenation_concatv2_64_i32_axis_0')
8 files changed, 928 insertions, 0 deletions
diff --git a/frameworks/tflite/operators/concatenation_concatv2_64_i32_axis_0/Conformance-TosaOutput_0.json b/frameworks/tflite/operators/concatenation_concatv2_64_i32_axis_0/Conformance-TosaOutput_0.json new file mode 100644 index 000000000..8bef79137 --- /dev/null +++ b/frameworks/tflite/operators/concatenation_concatv2_64_i32_axis_0/Conformance-TosaOutput_0.json @@ -0,0 +1,261 @@ +{ + "type": "int32", + "data": [ + 13, + -99, + -5, + 62, + -103, + 62, + -118, + -33, + 5, + 96, + -100, + 61, + 20, + -13, + 114, + -92, + 35, + -112, + -89, + 99, + 38, + 23, + 22, + 38, + 103, + -116, + 96, + 81, + 22, + 50, + -11, + 82, + -117, + -128, + 45, + 88, + 84, + -53, + 23, + -72, + -45, + 37, + -62, + 11, + 109, + -23, + 37, + -113, + -37, + 91, + 26, + 40, + -83, + -17, + -122, + 23, + -58, + 56, + -52, + 25, + 74, + 90, + -47, + -11, + -15, + 25, + 34, + 22, + 19, + 27, + 31, + -35, + -18, + -77, + 119, + -1, + 35, + 30, + 82, + -82, + 80, + 111, + -77, + 125, + 117, + -38, + -48, + 95, + -8, + 94, + -116, + -9, + -48, + -124, + 41, + -105, + 64, + -36, + -96, + 28, + 22, + 92, + 92, + 106, + 28, + 112, + -7, + 100, + -118, + 118, + -73, + -75, + -87, + -12, + 72, + 48, + 65, + -35, + 28, + 72, + -113, + 28, + 8, + -87, + -71, + -104, + -21, + -67, + -110, + -66, + 7, + -46, + -67, + 60, + 6, + -25, + -115, + -109, + 87, + 37, + -63, + -105, + 84, + -26, + -97, + 40, + -80, + 91, + 75, + 41, + 29, + 124, + -18, + 103, + 10, + -29, + -97, + 40, + -7, + 79, + -4, + 26, + -85, + 96, + -106, + -39, + -92, + -115, + 30, + -86, + 1, + -113, + -14, + 125, + 75, + 44, + -17, + -75, + -39, + -76, + 96, + -78, + -36, + -61, + 39, + -20, + -114, + -86, + 25, + -73, + -106, + 37, + -73, + 29, + -102, + -109, + -69, + -39, + 9, + 18, + -123, + 96, + 30, + -73, + -76, + 112, + -63, + -2, + 70, + -112, + 116, + -8, + -107, + -66, + 103, + 17, + -67, + -5, + 53, + 73, + 42, + -114, + 54, + 11, + 100, + 34, + -31, + -116, + -121, + -115, + -42, + 5, + -12, + -38, + 111, + 75, + 37, + 42, + -3, + -58, + -79, + -32, + -103, + 113, + 37, + 91, + 36, + 40, + 4, + -124, + 77, + -102, + 45, + -47, + -126, + 83 + ] +}
\ No newline at end of file diff --git a/frameworks/tflite/operators/concatenation_concatv2_64_i32_axis_0/desc.json b/frameworks/tflite/operators/concatenation_concatv2_64_i32_axis_0/desc.json new file mode 100644 index 000000000..75e70b5d9 --- /dev/null +++ b/frameworks/tflite/operators/concatenation_concatv2_64_i32_axis_0/desc.json @@ -0,0 +1,25 @@ +{ + "tosa_file": "test_concatv2_64_i32_axis_0.json", + "ifm_name": [ + "TosaInput_0", + "TosaInput_1", + "TosaInput_2", + "TosaInput_3" + ], + "ifm_file": [ + "placeholder_0.npy", + "placeholder_1.npy", + "placeholder_2.npy", + "placeholder_3.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/concatenation_concatv2_64_i32_axis_0/model-tflite.json b/frameworks/tflite/operators/concatenation_concatv2_64_i32_axis_0/model-tflite.json new file mode 100644 index 000000000..89b82dff9 --- /dev/null +++ b/frameworks/tflite/operators/concatenation_concatv2_64_i32_axis_0/model-tflite.json @@ -0,0 +1,274 @@ +{ + version: 3, + operator_codes: [ + { + deprecated_builtin_code: 2, + version: 1, + builtin_code: "CONCATENATION" + } + ], + subgraphs: [ + { + tensors: [ + { + shape: [ + 64 + ], + type: "INT32", + buffer: 1, + name: "serving_default_placeholder_3:0", + quantization: { + details_type: "NONE", + quantized_dimension: 0 + }, + is_variable: false + }, + { + shape: [ + 64 + ], + type: "INT32", + buffer: 2, + name: "serving_default_placeholder_0:0", + quantization: { + details_type: "NONE", + quantized_dimension: 0 + }, + is_variable: false + }, + { + shape: [ + 64 + ], + type: "INT32", + buffer: 3, + name: "serving_default_placeholder_2:0", + quantization: { + details_type: "NONE", + quantized_dimension: 0 + }, + is_variable: false + }, + { + shape: [ + 64 + ], + type: "INT32", + buffer: 4, + name: "serving_default_placeholder_1:0", + quantization: { + details_type: "NONE", + quantized_dimension: 0 + }, + is_variable: false + }, + { + shape: [ + 256 + ], + type: "INT32", + buffer: 5, + name: "PartitionedCall:0", + quantization: { + details_type: "NONE", + quantized_dimension: 0 + }, + is_variable: false + } + ], + inputs: [ + 0, + 1, + 2, + 3 + ], + outputs: [ + 4 + ], + operators: [ + { + opcode_index: 0, + inputs: [ + 1, + 3, + 2, + 0 + ], + outputs: [ + 4 + ], + builtin_options_type: "ConcatenationOptions", + builtin_options: { + axis: 0, + fused_activation_function: "NONE" + }, + custom_options_format: "FLEXBUFFERS" + } + ], + name: "main" + } + ], + description: "MLIR Converted.", + buffers: [ + { + }, + { + }, + { + }, + { + }, + { + }, + { + }, + { + data: [ + 49, + 46, + 53, + 46, + 48, + 0, + 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, + 36, + 0, + 0, + 0, + 0, + 0, + 6, + 0, + 8, + 0, + 4, + 0, + 6, + 0, + 0, + 0, + 4, + 0, + 0, + 0, + 0, + 0, + 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: 6 + }, + { + name: "CONVERSION_METADATA", + buffer: 7 + } + ], + signature_defs: [ + { + inputs: [ + { + name: "placeholder_0", + tensor_index: 1 + }, + { + name: "placeholder_1", + tensor_index: 3 + }, + { + name: "placeholder_2", + tensor_index: 2 + }, + { + name: "placeholder_3", + tensor_index: 0 + } + ], + outputs: [ + { + name: "output_0", + tensor_index: 4 + } + ], + method_name: "serving_default", + subgraph_index: 0 + } + ] +} diff --git a/frameworks/tflite/operators/concatenation_concatv2_64_i32_axis_0/placeholder_0.json b/frameworks/tflite/operators/concatenation_concatv2_64_i32_axis_0/placeholder_0.json new file mode 100644 index 000000000..07455996b --- /dev/null +++ b/frameworks/tflite/operators/concatenation_concatv2_64_i32_axis_0/placeholder_0.json @@ -0,0 +1,69 @@ +{ + "type": "int32", + "data": [ + -73, + 29, + -102, + -109, + -69, + -39, + 9, + 18, + -123, + 96, + 30, + -73, + -76, + 112, + -63, + -2, + 70, + -112, + 116, + -8, + -107, + -66, + 103, + 17, + -67, + -5, + 53, + 73, + 42, + -114, + 54, + 11, + 100, + 34, + -31, + -116, + -121, + -115, + -42, + 5, + -12, + -38, + 111, + 75, + 37, + 42, + -3, + -58, + -79, + -32, + -103, + 113, + 37, + 91, + 36, + 40, + 4, + -124, + 77, + -102, + 45, + -47, + -126, + 83 + ] +}
\ No newline at end of file diff --git a/frameworks/tflite/operators/concatenation_concatv2_64_i32_axis_0/placeholder_1.json b/frameworks/tflite/operators/concatenation_concatv2_64_i32_axis_0/placeholder_1.json new file mode 100644 index 000000000..d2711dcb0 --- /dev/null +++ b/frameworks/tflite/operators/concatenation_concatv2_64_i32_axis_0/placeholder_1.json @@ -0,0 +1,69 @@ +{ + "type": "int32", + "data": [ + 13, + -99, + -5, + 62, + -103, + 62, + -118, + -33, + 5, + 96, + -100, + 61, + 20, + -13, + 114, + -92, + 35, + -112, + -89, + 99, + 38, + 23, + 22, + 38, + 103, + -116, + 96, + 81, + 22, + 50, + -11, + 82, + -117, + -128, + 45, + 88, + 84, + -53, + 23, + -72, + -45, + 37, + -62, + 11, + 109, + -23, + 37, + -113, + -37, + 91, + 26, + 40, + -83, + -17, + -122, + 23, + -58, + 56, + -52, + 25, + 74, + 90, + -47, + -11 + ] +}
\ No newline at end of file diff --git a/frameworks/tflite/operators/concatenation_concatv2_64_i32_axis_0/placeholder_2.json b/frameworks/tflite/operators/concatenation_concatv2_64_i32_axis_0/placeholder_2.json new file mode 100644 index 000000000..71d32ad8c --- /dev/null +++ b/frameworks/tflite/operators/concatenation_concatv2_64_i32_axis_0/placeholder_2.json @@ -0,0 +1,69 @@ +{ + "type": "int32", + "data": [ + -110, + -66, + 7, + -46, + -67, + 60, + 6, + -25, + -115, + -109, + 87, + 37, + -63, + -105, + 84, + -26, + -97, + 40, + -80, + 91, + 75, + 41, + 29, + 124, + -18, + 103, + 10, + -29, + -97, + 40, + -7, + 79, + -4, + 26, + -85, + 96, + -106, + -39, + -92, + -115, + 30, + -86, + 1, + -113, + -14, + 125, + 75, + 44, + -17, + -75, + -39, + -76, + 96, + -78, + -36, + -61, + 39, + -20, + -114, + -86, + 25, + -73, + -106, + 37 + ] +}
\ No newline at end of file diff --git a/frameworks/tflite/operators/concatenation_concatv2_64_i32_axis_0/placeholder_3.json b/frameworks/tflite/operators/concatenation_concatv2_64_i32_axis_0/placeholder_3.json new file mode 100644 index 000000000..7b208cb5f --- /dev/null +++ b/frameworks/tflite/operators/concatenation_concatv2_64_i32_axis_0/placeholder_3.json @@ -0,0 +1,69 @@ +{ + "type": "int32", + "data": [ + -15, + 25, + 34, + 22, + 19, + 27, + 31, + -35, + -18, + -77, + 119, + -1, + 35, + 30, + 82, + -82, + 80, + 111, + -77, + 125, + 117, + -38, + -48, + 95, + -8, + 94, + -116, + -9, + -48, + -124, + 41, + -105, + 64, + -36, + -96, + 28, + 22, + 92, + 92, + 106, + 28, + 112, + -7, + 100, + -118, + 118, + -73, + -75, + -87, + -12, + 72, + 48, + 65, + -35, + 28, + 72, + -113, + 28, + 8, + -87, + -71, + -104, + -21, + -67 + ] +}
\ No newline at end of file diff --git a/frameworks/tflite/operators/concatenation_concatv2_64_i32_axis_0/test_concatv2_64_i32_axis_0.json b/frameworks/tflite/operators/concatenation_concatv2_64_i32_axis_0/test_concatv2_64_i32_axis_0.json new file mode 100644 index 000000000..90ad4dbf0 --- /dev/null +++ b/frameworks/tflite/operators/concatenation_concatv2_64_i32_axis_0/test_concatv2_64_i32_axis_0.json @@ -0,0 +1,92 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "CONCAT", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "TosaInput_1", + "TosaInput_3", + "TosaInput_2", + "TosaInput_0" + ], + outputs: [ + "TosaOutput_0" + ] + } + ], + tensors: [ + { + name: "TosaInput_0", + shape: [ + 64 + ], + type: "INT32", + data: [ + + ] + }, + { + name: "TosaInput_1", + shape: [ + 64 + ], + type: "INT32", + data: [ + + ] + }, + { + name: "TosaInput_2", + shape: [ + 64 + ], + type: "INT32", + data: [ + + ] + }, + { + name: "TosaInput_3", + shape: [ + 64 + ], + type: "INT32", + data: [ + + ] + }, + { + name: "TosaOutput_0", + shape: [ + 256 + ], + type: "INT32", + data: [ + + ] + } + ], + inputs: [ + "TosaInput_0", + "TosaInput_1", + "TosaInput_2", + "TosaInput_3" + ], + outputs: [ + "TosaOutput_0" + ] + } + ] +} |