forked from mindspore-Ecosystem/mindspore
!4892 Fix some mistakes of convertor tool for windows enviroment
Merge pull request !4892 from liuwenhao/master
This commit is contained in:
commit
e06e9cd772
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue