Move a resize from codegen to code.
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/33024
Test Plan: Imported from OSS
Differential Revision: D19774147
Pulled By: gchanan
fbshipit-source-id: 08cb099f1695b28117e4236e214976b548aec7a1