!4892 Fix some mistakes of convertor tool for windows enviroment

Merge pull request !4892 from liuwenhao/master
This commit is contained in:
mindspore-ci-bot 2020-08-21 14:27:07 +08:00 committed by Gitee
commit e06e9cd772
1 changed files with 1 additions and 1 deletions

View File

@ -62,10 +62,10 @@ class OptimizeModule {
}
#ifndef _WIN32
optimized_op_handler_ = dlopen(OPTIMIZE_SHARED_LIBRARY_PATH, RTLD_LAZY);
#endif
if (optimized_op_handler_ == nullptr) {
printf("Open optimize shared library failed: %s\n", dlerror());
}
#endif
}
~OptimizeModule() = default;