Skip to content

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 Hzfengsy@sjtu.edu.cn

@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 <Hzfengsy@sjtu.edu.cn>
@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