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

[TIR][Schedule][UX] Beautify TIR Trace Printing #12507

Merged

Commits on Aug 20, 2022

  1. [TIR][Schedule][UX] Beautify TIR Trace Printing

    Following apache#12197, this PR introduces
    `Schedule.show()` which convenience the user experience in the following
    two aspects:
    - Python syntax highlighting
    - Outputs a schedule function instead of standalone instructions so that
    it's easier to follow.
    
    To demonstrate this change:
    - Before `Schedule.show()` is introduced:
    <img width="555" alt="image" src="https://user-images.githubusercontent.com/22515877/185713487-03722566-1df7-45c7-a034-c1460d399681.png">
    
    - After this change:
    <img width="583" alt="image" src="https://user-images.githubusercontent.com/22515877/185713564-c54f3a9d-cd52-4709-a8b8-d8a61361e611.png">
    junrushao committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    392a50a View commit details
    Browse the repository at this point in the history