Fix empty size constant creation (#63607) (#64376)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/64376
Test Plan: Imported from OSS
Reviewed By: jansel
Differential Revision: D30919608
Pulled By: malfet
fbshipit-source-id: 0e789e8470ce0f130148df764ce77f6d4fd0a274