-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[Relay to onnx conversion fixes][Pool, Pad] #8435
Conversation
* added missing ceil_mode in average pool and max pool conversion
* Fixed issue in Pad conversion: changed pad_value to input instead of attrs * Refer to PR: #7860 * Updated unit test for Pad * Fixed some formatting errors
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.
Looks good to me! Thanks @schilkunda-amba
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.
Thank you for separating out bug fixes from the new features from
I asked in #8362 to please fix the commit message to reflect that these are changes to the ONNX frontend. Relay isn't being converted to ONNX. Its a model in the ONNX format which is being lowered to Relay.
Can the commit message please be updated along with the subject line and summary line of your pull request(s) ? TIA.
regards
Ramana
@u99127 I should have probably clarified in the previous PR. The PR is indeed for converting relay to onnx (not the other way round). It's not part of the frontend lowering of onnx to relay. Our compiler expects an onnx model as input (not relay). Hence, with the help of community, we implemented a relay to onnx convertor. Model in any framework -> Relay -> Onnx -> Compiler Hope this clarifies! |
Oh, I'm sorry I missed this . Is there an RFC or something I can read about this new feature ? Ramana Thanks, |
* [Relay to Onnx conversion][Pool] * added missing ceil_mode in average pool and max pool conversion * [Relay to Onnx conversion][Pad] * Fixed issue in Pad conversion: changed pad_value to input instead of attrs * Refer to PR: apache#7860 * Updated unit test for Pad * Fixed some formatting errors
* [Relay to Onnx conversion][Pool] * added missing ceil_mode in average pool and max pool conversion * [Relay to Onnx conversion][Pad] * Fixed issue in Pad conversion: changed pad_value to input instead of attrs * Refer to PR: apache#7860 * Updated unit test for Pad * Fixed some formatting errors
Fixed issues in relay to onnx conversion of pool and pad ops.
Pool: Added missing ceil_mode in average pool and max pool conversion
Pad: Changed pad_value to input instead of attrs (#7860)
Updated unit tests and fixed formatting errors.