forked from mindspore-Ecosystem/mindspore
Add Convertor function for windows enviroment
This commit is contained in:
parent
3449abd741
commit
bfce74ce0d
|
@ -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