torch.where is now mentioning Bool rather than Byte when given wrong dtype mask (#57942)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/49769
torch.where is now mentioning Bool instead of Byte when given wrong dtype mask
Pull Request resolved: https://github.com/pytorch/pytorch/pull/57942
Reviewed By: bdhirsh
Differential Revision: D28330921
Pulled By: ngimel
fbshipit-source-id: 44a01e1daf1790308804ca7bb606f745c3eb71e1