-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[Good First Issue]: Expose ov.saveModel() functionality #27092
Comments
.take |
Thank you for looking into this issue! Please let us know if you have any questions or require any help. |
.take |
Thanks for being interested in this issue. It looks like this ticket is already assigned to a contributor. Please communicate with the assigned contributor to confirm the status of the issue. |
@hub-bla are you still working on the issue? |
@MVARUNREDDY8203 It's already done but not merged yet. |
### Details: - Created `init_function` to initialize functions directly in the addon. - Extended `type_validation` with `Napi::Boolean` - Exposed `ov.saveModel` - To make proper tests like in Python API I guess I have to wait for `Model.getOps()` to be exposed. ### Tickets: - Closes - #27092 --------- Co-authored-by: Vishniakov Nikolai <[email protected]> Co-authored-by: Michal Lukaszewski <[email protected]>
Merged. Thanks for contribution! |
### Details: - Created `init_function` to initialize functions directly in the addon. - Extended `type_validation` with `Napi::Boolean` - Exposed `ov.saveModel` - To make proper tests like in Python API I guess I have to wait for `Model.getOps()` to be exposed. ### Tickets: - Closes - openvinotoolkit#27092 --------- Co-authored-by: Vishniakov Nikolai <[email protected]> Co-authored-by: Michal Lukaszewski <[email protected]>
Context
OpenVINO works in Node.js environment!
We are looking for new contributors who can help with enabling C++ API methods
in JavaScript side.
First of all read Node.js API Contribution Guide.
Task Details
Expose
ov::save_model()
method.From JavaScript side it will be
ov.saveModel()
method.This method takes 3 arguments: model to save, path to output model file and bool value whether to compress floating point weights to FP16.
Useful links
ov::save_model()
methodWhat needs to be done?
ov.saveModel()
method should be implemented. It might be./src/bindings/js/node/src/addon.cpp. Implement the method.
How to take this issue
To take this issue leave text:
.take
as the comment in this issue.It will assign this issue to you automatically. Please, make sure that the issue has the status Contributors Needed and doesn't have another user in Assingnees.
Example Pull Requests
Resources
Contact points
@almilosz @vishniakov-nikolai
Please, mention us in this issue discussion if you have any questions.
Ticket
No response
The text was updated successfully, but these errors were encountered: