Make zeros argument of torch.where same dtype as other argument (#30661)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/30661
Cherry-picked from https://github.com/pytorch/pytorch/pull/29080
Test Plan: Imported from OSS
Differential Revision: D18781870
Pulled By: nairbv
fbshipit-source-id: 9de85aa91bf7e0856f35c7c6238a8923315ed27f
Co-authored-by: ifedan