torch.isnan. torch. isnan (input) → Tensor. Returns a new tensor with boolean elements representing if each element of input is NaN or not.
確定! 回上一頁