pytorch
350aded4 - [fix] `torch.amax` and `torch.amin` for empty tensors if dim arg not provided. (#73914)

Commit
3 years ago
[fix] `torch.amax` and `torch.amin` for empty tensors if dim arg not provided. (#73914) Summary: Fixes https://github.com/pytorch/pytorch/issues/73905 cc kshitij12345! :) Pull Request resolved: https://github.com/pytorch/pytorch/pull/73914 Reviewed By: H-Huang Differential Revision: D34898405 Pulled By: ngimel fbshipit-source-id: d814b0ea0302d611a391314fb4db8225bb9304f7 (cherry picked from commit 864ee2b301a741e7595fbcf4833a4e44dcc57098)
Author
Committer
Parents
Loading