Expunge last two sites of resize_dim (#32112)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/32112
It turns out we already removed these from the CPU version; copy
the changes over.
Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Test Plan: Imported from OSS
Differential Revision: D19579874
Pulled By: ezyang
fbshipit-source-id: e40efbf94e128fd81421b227b76dd9c9c0256d96