forked from pytorch/FBGEMM
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clamping before conversion (pytorch#454)
Summary: Pull Request resolved: pytorch#454 - The logic for RoundToFloat16 is off. The conversion of clamping should be lifted upfront before the conversion. - Add the unit test. Reviewed By: dskhudia Differential Revision: D24801098 fbshipit-source-id: b28238c52d6caf00fea3d657d069e21ac97a7a4b
- Loading branch information
1 parent
8eb6dcb
commit c438e6e
Showing
2 changed files
with
68 additions
and
24 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