From: 박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 Date: Wed, 18 Sep 2019 07:36:34 +0000 (+0900) Subject: [exo-tflite] Fix TFLMul export option (#7566) X-Git-Tag: submit/tizen/20191205.083104~1190 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eeb120287bfb723a6d4de169d4088ff1a411c687;p=platform%2Fcore%2Fml%2Fnnfw.git [exo-tflite] Fix TFLMul export option (#7566) This will fix TFLMul export option that was not corrected from copy-paste As the option is a dummy, there was no problem with actual execution Signed-off-by: SaeHie Park --- diff --git a/compiler/exo-tflite/src/OperationExporter.cpp b/compiler/exo-tflite/src/OperationExporter.cpp index 8f01134..c302955 100644 --- a/compiler/exo-tflite/src/OperationExporter.cpp +++ b/compiler/exo-tflite/src/OperationExporter.cpp @@ -158,9 +158,9 @@ void OperationExporter::visit(locoex::TFLMul *node) std::vector outputs_vec{get_tensor_index(static_cast(node))}; auto inputs = builder.CreateVector(inputs_vec); auto outputs = builder.CreateVector(outputs_vec); - auto options = CreateAddOptions(builder); // dummy option + auto options = CreateMulOptions(builder); // dummy option auto op_offset = CreateOperator(builder, op_idx, inputs, outputs, - tflite::BuiltinOptions_AddOptions, options.Union()); + tflite::BuiltinOptions_MulOptions, options.Union()); gd._operators.push_back(op_offset); }