[ONNX] Update expand_as for dynamic shape (#61084) (#61559)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/61559
Update expand_as for dynamic shape
Test Plan: Imported from OSS
Reviewed By: nikithamalgifb
Differential Revision: D29767990
Pulled By: SplitInfinity
fbshipit-source-id: 3f1e3f68fd17c5ffbd4a50fccff224fd9d6c84fb
Co-authored-by: Negin Raoof <neginmr@utexas.edu>