-
Notifications
You must be signed in to change notification settings - Fork 3k
[core] [DRAFT] [IN PROGRESS] Make the internal implementation of Core.read_model(fs::path) the base implementation #33973
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
[core] [DRAFT] [IN PROGRESS] Make the internal implementation of Core.read_model(fs::path) the base implementation #33973
Conversation
| ov::frontend::InputModel::Ptr inputModel; | ||
|
|
||
| ov::AnyVector params{model_path}; | ||
| ov::AnyVector params{model_path.native()}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ov::AnyVector params{model_path.native()}; | |
| ov::AnyVector params{model_path}; |
Frontend should handle path?
| #endif | ||
| params.emplace_back(weights_path); | ||
| if (!bin_path.empty()) { | ||
| params.emplace_back(bin_path.native()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| params.emplace_back(bin_path.native()); | |
| params.emplace_back(bin_path); |
…into almilosz/read_model_impl
| const auto devices = core.get_available_devices(); | ||
| const auto visitor = [&](const auto& param) { | ||
| using ParamT = std::decay_t<decltype(param)>; | ||
| auto folder = ov::test::utils::ensure_trailing_slash(ParamT(param)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it crucial for UnicodePathTest, create_directories to test both "test_encoder/test_encoder.encrypted/", and "test_encoder/test_encoder.encrypted"? If yes, I think it's better to modify create_directories test, if no, test one of these options
| TEST_P(UnicodePathTest, create_directories) { |
Details:
Tickets: