pytorch
ec4be4e5 - Redundant condition (#32396)

Commit
4 years ago
Redundant condition (#32396) Summary: Optimize expression: 'A || (!A && B)' <=> 'A || B' A: relErr <= maxRelErr !A : relErr > maxRelErr B: absErr <= absErrForRelErrFailure Pull Request resolved: https://github.com/pytorch/pytorch/pull/32396 Differential Revision: D19499370 Pulled By: ezyang fbshipit-source-id: c19bdcb2d4e7ff7806a8cd181c6e7e9e276b9979
Author
Parents
Loading