-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX][TOPI] Clip with IntImm/FloatImm
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]>
- Loading branch information
1 parent
d12a636
commit 0e8bc14
Showing
2 changed files
with
27 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters