Skip to content
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

[Py OV] Extend Model to utilize with-expressions #27191

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

almilosz
Copy link
Contributor

Details:

  • Implement __enter__ and __exit__ to create class-based context manager
  • Remove inheritance from ModelBase in ie_api.Model and make it an attribute.
  • TODO update core.compile_model() and other pyAPI methods that have std::shared_ptr<ov::Model> in their signatures.
  • Add test_model_with_statement

Tickets:

@github-actions github-actions bot added the category: Python API OpenVINO Python bindings label Oct 22, 2024
Copy link
Contributor

This PR will be closed in a week because of 2 weeks of no activity.

@github-actions github-actions bot added the Stale label Nov 24, 2024
@almilosz almilosz removed the Stale label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: Python API OpenVINO Python bindings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants