[ONNX] Enable constant folding for Shape (#35386)
Summary:
Enabled constant folding for onnx::Shape
Pull Request resolved: https://github.com/pytorch/pytorch/pull/35386
Reviewed By: hl475
Differential Revision: D20682412
Pulled By: houseroad
fbshipit-source-id: 4559a35f174edfb7e6364c0fbf5bc1d55d0d26dc