SIGN IN SIGN UP

Replace `constraints` with `dynamic_shapes` in pye and executorch (#1714)

Summary:
Pull Request resolved: https://github.com/pytorch/executorch/pull/1714

X-link: https://github.com/pytorch/pytorch/pull/118345

`constraints` argument for `torch.export` has been deprecated in favor of the `dynamic_shapes` argument. This PR updates the use of the deprecated API in `pye` and `executorch`.

Reviewed By: avikchaudhuri

Differential Revision: D53109299

fbshipit-source-id: 353cdf6cb88e362fc49c957ccdc76a533eb3f283
B
Boyuan Feng committed
24e428c574a93debd49c466f50feb059eab77c65
Parent: cf87e79
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 2/2/2024, 1:07:30 AM