Let logical_not support non-bool tensors. (#23916)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/23916
Pull Request resolved: https://github.com/pytorch/pytorch/pull/23916
Test Plan: Imported from OSS
Differential Revision: D16719300
Pulled By: gchanan
fbshipit-source-id: 5be6aeea9a38cc40ad59d0449d25a25f7dfa2787