-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Extend ONNX Frontend with Shape-15
operator
#20194
Comments
@mitruska If no one has been assigned yet, could I work on this issue? |
Hello @hotcheetofiend, thanks for taking a look! I assigned you. |
Hi @hotcheetofiend, are you still working on it? I'm updating the tasks' statuses. |
Yes; sorry! I will try to get it done by Friday. |
Hello @hotcheetofiend, let us know if you find this task challenging. |
Hi @hotcheetofiend, are you still working on this or can we reopen the issue for pickup by other contributors? |
.take |
Thank you for looking into this issue! Please let us know if you have any questions or require any help. |
May I get guided by anyone. Like i just want a simple description on the issue so that i can work on it. |
Hello @BharathSatheeshKumar, thank you for taking this issue, the idea is explained in the issue description above:
In other words, the goal is to add support for the |
Thank You. |
Happy to help 🚀 |
I've updated the hpp and cpp files but cant create a PR. Help me out |
Step by step contribution guide, including how to create a Pull Request [PR], can be found in the Resources section of the issue description, please follow: |
Hello @BharathSatheeshKumar, do you need any help? Just yesterday our CONTRIBUTING.md has been updated with a technical guide - I highly recommend checking it out. :) |
Yea sure will check that out and will let you guys know soon. |
PR link? |
Hello @BharathSatheeshKumar, could you please let us know what issues you're having? |
Just now sorted the problem thanks....and will update within a day or so |
i cant access the main file any ideas? |
Hi @BharathSatheeshKumar, I think we may need more details. Could you please join Intel DevHub Discord and ask your questions there? It will be easier for both sides. |
Due to long inactivity I'm unassigning the issue for other contributors. If you're still working on this task @BharathSatheeshKumar please let us know, you'll be reassigned. |
.take |
Thank you for looking into this issue! Please let us know if you have any questions or require any help. |
sorry for the delay tho |
Hello @AlexFierro9, are you still working on that issue? |
.take |
Thank you for looking into this issue! Please let us know if you have any questions or require any help. |
Hi @p-wysocki , I have raised PR #23492 for this issue, please let me know if any modifications are needed. |
thanks @MeeCreeps! |
related issue : #20194
Hello @MeeCreeps your PR has been reviewed, approved and merged 🚀 |
Context
Neural networks are graphs consisting of nodes called operators. Each operator corresponds to a mathematical function, usually described in framework's documentation or an AI standard, such as ONNX.
OpenVINO ONNX Frontend is a component responsible for working with ONNX graphs and requires implementation of different ONNX operators in order to use ONNX models.
This task requires extending OpenVINO ONNX Frontend with
Shape-15
(ONNX Shape operator since ONNX Opset 15).ONNX Shape operator has been extended with additional "start, end" attributes, what should be reflected in the conversion logic.
Currently those attributes are ignored by ONNX FE, and ONNX Shape is converted directly to
ov::ShapeOf
,but it can be supported at the ONNX FE conversion step, with additional
ov::Slice
layer.Necessary help will be provided by ONNX Fronted team.
Operator specification
Operator details can be found in ONNX Operators.
Todo list
.hpp
and.cpp
files:/openvino/src/frontends/onnx/frontend/src/op/shape.hpp
/openvino/src/frontends/onnx/frontend/src/op/shape.cpp
REGISTER_OPERATOR("Shape", 15, shape);
in ops_bridge.cpp while keeping alphabetical orderMore details in adding operators to ONNX Frontend guide
Resources
Example PRs
Tips
Proper implementation should enable the following tests:
openvino/src/frontends/onnx/tests/__init__.py
Line 138 in a6e5f6b
openvino/src/frontends/onnx/tests/tests_python/test_backend.py
Lines 322 to 329 in a6e5f6b
Also for compatibility API:
openvino/src/bindings/python/tests_compatibility/test_onnx/test_backend.py
Line 330 in a6e5f6b
Contact points
@mitruska
@p-wysocki
@gkrivor
Don't hesitate to reach out, we're here to help!
The text was updated successfully, but these errors were encountered: