Skip to content
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] ExprDoc #12048

Merged
merged 24 commits into from
Jul 27, 2022
Merged

[TVMScript] ExprDoc #12048

merged 24 commits into from
Jul 27, 2022

Conversation

yelite
Copy link
Contributor

@yelite yelite commented Jul 9, 2022

This PR addes:

  • All ExprDoc subclasses
  • Their Python bindings
  • Support of ExprDoc in PythonDocPrinter
  • Unit tests for ExprDoc in PythonDocPrinter

Tracking issue: #11912

cc @junrushao1994 @gbonik

@yelite
Copy link
Contributor Author

yelite commented Jul 15, 2022

I removed the Assert op as we are going to make assert a StmtDoc per dicussion with @junrushao1994. I also added an if-then-else special op

Copy link
Member

@junrushao junrushao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @yelite for the PR, especially carefully crafted tests! I left a few nitpicks but overall it looks pretty good!

@junrushao junrushao merged commit 584b0f3 into apache:main Jul 27, 2022
xinetzone pushed a commit to daobook/tvm that referenced this pull request Nov 25, 2022
This PR addes:

- All ExprDoc subclasses
- Their Python bindings
- Support of ExprDoc in PythonDocPrinter
- Unit tests for ExprDoc in PythonDocPrinter

Tracking issue: apache#11912
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants