Delete TensorImpl::GetDevice() (#20025)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/20025
Delete TensorImpl::GetDevice() and clean all its call sites.
Reviewed By: ezyang
Differential Revision: D15170917
fbshipit-source-id: b6862b74aa036198544f79d18a8c0f995cb0ca7b