mindspore.ops.Trunc

class mindspore.ops.Trunc[源代码]
prim = ops.Trunc()
out = prim(input)

等价于

ops.trunc(input)

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