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] Expose shift_left and shift_right to Python #12584

Merged
merged 1 commit into from
Aug 25, 2022

Conversation

cyx-6
Copy link
Contributor

@cyx-6 cyx-6 commented Aug 24, 2022

This PR exposes the following TIR operation in python:

shift_left: tested here
shift_right: add new unittest

Co-authored-by: yongwww yongcale@gmail.com

cc: @junrushao

cc @Hzfengsy @junrushao1994

This PR exposes the following TIR operation in python:

`shift_left`: tested
`shift_right`: add new unittest

Co-authored-by: yongwww <yongcale@gmail.com>
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.

LGTM!

@junrushao junrushao merged commit cd8fd91 into apache:main Aug 25, 2022
xinetzone pushed a commit to daobook/tvm that referenced this pull request Nov 25, 2022
This PR exposes the following TIR operation in python:

- `shift_left`: tested [here](https://github.com/apache/tvm/blob/1afd0593956066635ee49297b731726c9218c91c/tests/python/unittest/test_tir_transform_simplify.py#L487)
- `shift_right`: add new unittest

Co-authored-by: yongwww <yongcale@gmail.com>
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.

2 participants