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

[FIX][TOPI] Clip with IntImm/FloatImm #14027

Merged
merged 1 commit into from
Feb 18, 2023

Conversation

MasterJH5574
Copy link
Contributor

Prior to this PR, TOPI clip op only accepts the min/max values with Python native float/int type, and rejects FloatImm and IntImm.

This PR enhances the clip op to allow it accept FloatImm and IntImm.

Co-authored-by: Siyuan Feng [email protected]

@tvm-bot
Copy link
Collaborator

tvm-bot commented Feb 17, 2023

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.

  • No users to tag found in teams: fix, topi See #10317 for details

Generated by tvm-bot

@MasterJH5574
Copy link
Contributor Author

cc @tqchen @Hzfengsy

@MasterJH5574 MasterJH5574 force-pushed the tvm-dev/2023-02-17-topi-clip branch from 5ab1a13 to 55708ea Compare February 17, 2023 22:10
Prior to this PR, TOPI clip op only accepts the min/max values with
Python native float/int type, and rejects FloatImm and IntImm.

This PR enhances the clip op to allow it accept FloatImm and IntImm.

Co-authored-by: Siyuan Feng <[email protected]>
@MasterJH5574 MasterJH5574 force-pushed the tvm-dev/2023-02-17-topi-clip branch from 55708ea to 0e8bc14 Compare February 17, 2023 22:12
@tqchen tqchen merged commit 14bc5e4 into apache:main Feb 18, 2023
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.

4 participants