-
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
[TVMScript] Refactor IRDocsifier #13593
Conversation
Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.
Generated by tvm-bot |
e853a5e
to
c0383d2
Compare
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.
Overall LGTM
@@ -294,7 +295,11 @@ void PythonDocPrinter::PrintTypedDoc(const LiteralDoc& doc) { | |||
} else if (const auto* float_imm = value.as<FloatImmNode>()) { | |||
// TODO(yelite): Make float number printing roundtrippable |
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 you know if this TODO is resolved?
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.
Not yet but indeed there is a way forward
8611e47
to
9f99c6d
Compare
This PR refactors the TVMScript printer and includes the following changes: - Consolidate the logics of VarTable into IRDocsifier - Decouple TracedObject into Object and ObjectPath for less syntactic noise - Restructure the folder to ensure logics and consistency Some tests removed because the APIs do not exist any more due to the consolidation.
Thanks @junrushao @Hzfengsy ! |
This PR refactors the TVMScript printer and includes the following changes: - Consolidate the logics of VarTable into IRDocsifier - Decouple TracedObject into Object and ObjectPath for less syntactic noise - Restructure the folder to ensure logics and consistency Some tests removed because the APIs do not exist any more due to the consolidation.
This PR refactors the TVMScript printer and includes the following
changes:
noise
Some tests removed because the APIs do not exist any more due to the
consolidation.