pytorch
91a2e953 - [JIT] Use signed integers in CalculatedNecessaryArgs

Commit
2 years ago
[JIT] Use signed integers in CalculatedNecessaryArgs x was underflowing: ``` size_t x = ... while (x >= 0) { x--; } ``` Changed the variables to ssize_t. Pull Request resolved: https://github.com/pytorch/pytorch/pull/79331 Approved by: https://github.com/yuhc, https://github.com/tugsbayasgalan
Author
Committer
Parents
Loading