Removing deprecated warning message from torch.h (#24002)
Summary:
discussed [here](https://github.com/pytorch/vision/issues/1173)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/24002
Differential Revision: D16710635
Pulled By: yf225
fbshipit-source-id: 95117dd601061691d4cfd0d644777825aeaeaf8c