未验证 提交 fb9fcadb 编写于 作者: H huzhiqiang 提交者: GitHub

FIX opt help info (#2886)

上级 9f0a1964
......@@ -802,7 +802,7 @@ void LoadModelNaiveFromFile(const std::string &filename,
// version.
const std::string paddle_version = version();
const std::string opt_version_str = opt_version;
if (paddle_version == opt_version_str) {
if (paddle_version != opt_version_str) {
LOG(WARNING) << "warning: the version of opt that transformed this model "
"is not consistent with current Paddle-Lite version."
"\n version of opt:"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册