torch.Tensor.nan_to_num_

张量.nan_to_num_(nan=0.0, posinf=None, neginf=None) 张量

就地版本的 nan_to_num()

本页目录