Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OpInfo: Remove promotes_integers_to_float and infer it instead (#50279)
Summary: Pull Request resolved: #50279 This allows different sample inputs to have different behavior for the same operator. For example, `div(..., rounding_mode='true')` will promote but other rounding modes don't. The current boolean flag is too restrictive to allow this. Test Plan: Imported from OSS Reviewed By: ngimel Differential Revision: D25950011 Pulled By: mruberry fbshipit-source-id: 7e82b82bedc626b2b6970d92d5b25676183ec384
- Loading branch information
1 parent
4bbff92
commit 0436ea1
Showing
4 changed files
with
60 additions
and
75 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
Oops, something went wrong.