提交 a4844114 编写于 作者: L liuqi

Fix mace_engine_factory import bug.

上级 d4124708
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include "mace/core/macros.h"
#include "mace/public/mace.h" #include "mace/public/mace.h"
#include "mace/public/mace_runtime.h" #include "mace/public/mace_runtime.h"
...@@ -92,12 +91,12 @@ MaceStatus CreateMaceEngineFromCode( ...@@ -92,12 +91,12 @@ MaceStatus CreateMaceEngineFromCode(
const std::vector<std::string> &output_nodes, const std::vector<std::string> &output_nodes,
const DeviceType device_type, const DeviceType device_type,
std::shared_ptr<MaceEngine> *engine) { std::shared_ptr<MaceEngine> *engine) {
MACE_UNUSED(model_name); (void)(model_name);
MACE_UNUSED(model_data_file); (void)(model_data_file);
MACE_UNUSED(input_nodes); (void)(input_nodes);
MACE_UNUSED(output_nodes); (void)(output_nodes);
MACE_UNUSED(device_type); (void)(device_type);
MACE_UNUSED(engine); (void)(engine);
return MaceStatus::MACE_INVALID_ARGS; return MaceStatus::MACE_INVALID_ARGS;
} }
{% endif %} {% endif %}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册