pytorch
9b3552eb - Add runtime assertions for input shape constraints (#100247)

Commit
1 year ago
Add runtime assertions for input shape constraints (#100247) This PR adds runtime assertions as an extra pass in the exported graph. Several high level information: 1. We specialize all dimensions that were not added to the user input constraints 2. We haven't added relational constraints as runtime assertions (e.g x[1] == x[0]), will do in a follow up diff Differential Revision: [D45408971](https://our.internmc.facebook.com/intern/diff/D45408971) Pull Request resolved: https://github.com/pytorch/pytorch/pull/100247 Approved by: https://github.com/guangy10, https://github.com/avikchaudhuri
Committer
Parents
Loading