Updated docs and added deprecation warnings to acknowledge a bool tensor (#22261)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/22261
ghimport-source-id: 1611d62d056a04c0ad15ef662e594a3d206a78e2
Test Plan: Imported from OSS
Differential Revision: D16005990
Pulled By: izdeby
fbshipit-source-id: 2413824aa75a0755719e4df11acd21e6607e5a85