mindspore.ops.Trunc

class mindspore.ops.Trunc[source]
prim = ops.Trunc()
out = prim(input)

is equivalent to

ops.trunc(input)

Refer to mindspore.ops.trunc() for more details.