mindspore.Tensor.nan_to_num

Tensor.nan_to_num(nan=0.0, posinf=None, neginf=None)[source]

For details, please refer to mindspore.ops.nan_to_num().