Throwing errors for min and max reductions in empty CUDA tensors (#19612)
Summary:
Related to https://github.com/pytorch/pytorch/issues/17750.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/19612
Differential Revision: D15813649
Pulled By: gchanan
fbshipit-source-id: aa3dc34dd1e6d8bb24fa4c18891204108759bb35