pytorch
0436ea12 - OpInfo: Remove promotes_integers_to_float and infer it instead (#50279)

Commit
3 years ago
OpInfo: Remove promotes_integers_to_float and infer it instead (#50279) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/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
Author
Parents
Loading