From eeb120287bfb723a6d4de169d4088ff1a411c687 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EB=B0=95=EC=84=B8=ED=9D=AC/On-Device=20Lab=28SR=29/Princip?= =?utf8?q?al=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Wed, 18 Sep 2019 16:36:34 +0900 Subject: [PATCH] [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 --- compiler/exo-tflite/src/OperationExporter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.7.4