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

[python] Add walk_with_filter to walk subset of IR #7591

Merged
merged 1 commit into from
Sep 10, 2024

Commits on Sep 10, 2024

  1. [python] Add walk_with_filter to walk subset of IR

    This adds `walk_with_filter` python method to invoke callbacks
    only for subset of operations. We require GIL to call python function
    so this could improve performance of the tools based on Python API.
    
    ```
    Starting walk_with_filter
    walk_with_filter elapsed time: 0.005462 seconds cnt=1
    Starting operation.walk
    operation.walk elapsed time: 1.061360 seconds cnt=2
    ```
    uenoku committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    e2b136d View commit details
    Browse the repository at this point in the history