pytorch
0ce95c3a - Dynamo: Support min / max over iterables (#94350)

Commit
3 years ago
Dynamo: Support min / max over iterables (#94350) Expands support for built-in `min` and `max` calls beyond binary to iterables - simply reduce over the existing binary logic. Adds support for: * lists * tuples * list iterators * vararg min / max - `min(2, 3, 4)` Pull Request resolved: https://github.com/pytorch/pytorch/pull/94350 Approved by: https://github.com/voznesenskym, https://github.com/ezyang
Author
Committer
Parents
Loading