torch.any · input (Tensor) – the input tensor. · dim (int) – the dimension to reduce. · keepdim (bool) – whether the output tensor has dim retained or not.
確定! 回上一頁