mindspore.ops.NanToNum

class mindspore.ops.NanToNum(nan=None, posinf=None, neginf=None)[源代码]
prim = ops.NanToNum(nan, posinf, neginf)
out = prim(input)

等价于

ops.nan_to_num(input, nan, posinf, neginf)

更多详情请查看: mindspore.ops.nan_to_num()