Delete dead code in Tensor::to implementation (#61435)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/61435
Deleted the following:
- I couldn't find the NOTE mentioned so I deleted the reference to it
- The memory_format check (because it always passes)
- The requires_grad check (because it always passes)
Test Plan: - run tests
Reviewed By: soulitzer
Differential Revision: D29636872
Pulled By: zou3519
fbshipit-source-id: 48a32c1821b72c512d337becf2398ce7f4cf01a2