fix typo changing the generated code (#69899)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/69899
Reviewed By: soulitzer
Differential Revision: D33093461
Pulled By: albanD
fbshipit-source-id: 2c672a2b767f0caed1ef3a1d2afa1cacdfcdc320