torch.Tensor.aminmax Tensor.aminmax(*, dim=None, keepdim=False) -> (Tensor min, Tensor max) See torch.aminmax()