Replace resize_dim() with set_sizes_and_strides() (#17127)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17127
Replace resize_dim() with set_sizes_and_strides() in `THTensor_(squeeze1d) in aten/src/TH/generic/THTensor.cpp`
Reviewed By: ezyang
Differential Revision: D14088697
fbshipit-source-id: 518b72f7c0c4fbedf11a29a6ceb9fee8eefd9273