-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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]: Align behavior of ONNX Frontend operator ReduceMean-11, 13, 18 with original framework #20556
Comments
.take |
Thank you for looking into this issue! Please let us know if you have any questions or require any help. |
Hey! @gkrivor just wanted to make sure that I got this right: I need to change the properties of ReduceMean such that they are same in each opset. For example ReduceMean-18 has an extra attribute Could you also point me to the original framework tried searching but there were too many with same name didn't know which to pick. Thanks |
Hello @rghvsh, sorry for the late reply, the holiday season just ended. :) @gkrivor could you please take a look? Also, I am happy to announce that we have created a channel dedicated to Good First Issues support on our Intel DevHub Discord server! Join it to receive support, engage in discussions, ask questions and talk to OpenVINO developers. |
Hey! @gkrivor @p-wysocki which of the these should I consider as the original framework? |
@rghvsh hope you are doing great! Yeah, you a right, if documentation says we have a difference in inputs (input changed to an attribute, or opposite way) - need to implement correct translation function which will do it. But keeping old implementation too, because models which implements older nodes (for example, in a range 13-18 they will use implementation for opset 13) should be also functional. I've added a link to an issue with similar discussion: #20553 I suggest to identify difference and define it as a table here (would be easier to review later). You should get something like https://github.com/openvinotoolkit/openvino/blob/master/src/frontends/onnx/frontend/src/op/softmax.cpp which will implement a found differences. As you remember, you will need to add a tests for exact implementations like here: #21825 I mean a prototxt file and corresponing unit test to verify a correctness. |
Hello @rghvsh, are you still working on that issue? |
Hey! @p-wysocki yes |
@rghvsh great! as you can see most important change is in opset-18. opset-11 and -13 has a different set of supported input types. |
PR #23148 |
… with original framework (openvinotoolkit#23148) ### Details: - Align behavior of ONNX Frontend operator ReduceMean-11, 13, 18 with original framework ### Tickets: - Closes openvinotoolkit#20556 --------- Co-authored-by: Georgy Krivoruchko <georgy.krivoruchko@intel.com>
… with original framework (openvinotoolkit#23148) ### Details: - Align behavior of ONNX Frontend operator ReduceMean-11, 13, 18 with original framework ### Tickets: - Closes openvinotoolkit#20556 --------- Co-authored-by: Georgy Krivoruchko <georgy.krivoruchko@intel.com>
… with original framework (openvinotoolkit#23148) ### Details: - Align behavior of ONNX Frontend operator ReduceMean-11, 13, 18 with original framework ### Tickets: - Closes openvinotoolkit#20556 --------- Co-authored-by: Georgy Krivoruchko <georgy.krivoruchko@intel.com>
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 alignment between OpenVINO ONNX Frontend and original framework implementations of ReduceMean for next list of opsets: opset 11, opset 13, opset 18
Necessary help will be provided by ONNX Fronted team.
What needs to be done?
First of all, please, take a look on ReduceMax PR for a reference.
Operator details can be found in ONNX Operators
More details can be found in ONNX Changelog: opset 11, opset 13, opset 18
More details in adding operators to ONNX Frontend guide
Example Pull Requests
No response
Resources
Contact points
@gkrivor
Ticket
No response
The text was updated successfully, but these errors were encountered: