pytorch/torch/testing
Andrei Gheorghe 28f52f2f80 Fix aminmax on CUDA when input shape contains 0 (#107564)
The CUDA kernel asserts numel() > 0, the CPU kernel doesn't and returns empty values (as expected)

Fixes #95349 and #85439

Pull Request resolved: https://github.com/pytorch/pytorch/pull/107564
Approved by: https://github.com/lezcano
2023-09-29 16:18:08 +00:00
..
_internal Fix aminmax on CUDA when input shape contains 0 (#107564) 2023-09-29 16:18:08 +00:00
__init__.py
_comparison.py Fix reference cycle in our test suite (#106328) 2023-08-02 07:58:32 +00:00
_creation.py