[ONNX] Handle onnx::Size in ComputeConstant folding (#59122) (#60243)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/60243
Handle onnx::Size in ComputeConstant folding
Test Plan: Imported from OSS
Reviewed By: zou3519, ZolotukhinM
Differential Revision: D29494915
Pulled By: SplitInfinity
fbshipit-source-id: 9782e356f5e36ae1dd2819412f970010360e9cc0
Co-authored-by: jiafatom <jiafa@microsoft.com>