-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Extend printer and parser to support invalid identifiers #6346
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
Conversation
Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6346 +/- ##
=======================================
Coverage 57.23% 57.23%
=======================================
Files 507 507
Lines 31407 31407
Branches 4690 4690
=======================================
Hits 17977 17977
Misses 12575 12575
Partials 855 855 ☔ View full report in Codecov by Sentry. |
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.
Do we need to update the syntax document as well?
Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
Done, thanks. |
Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
Many onnx models used in practice use tensor names that are not valid C identifiers (as required by the ONNX standard). This PR extends the printer and parser to support such identifiers. (It may be useful to relax the ONNX standard's requirements in this regard, but that's a separate issue, requiring some community discussion.) --------- Signed-off-by: Ganesan Ramalingam <grama@microsoft.com> Signed-off-by: Linsho Kaku <linsho@preferred.jp>
Many onnx models used in practice use tensor names that are not valid C identifiers (as required by the ONNX standard). This PR extends the printer and parser to support such identifiers.
(It may be useful to relax the ONNX standard's requirements in this regard, but that's a separate issue, requiring some community discussion.)