Stop generating maybe_zero_dim calls for "scalar_check: false" with multiple outputs. (#29868)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/29868
Codegen changes: https://gist.github.com/gchanan/b0db8ec1310d7e10435c75b951e7de83
Test Plan: Imported from OSS
Differential Revision: D18521735
Pulled By: gchanan
fbshipit-source-id: bc4c437b001b754868435fb642ab60415600f0ff