mindspore.ops.Trunc
- class mindspore.ops.Trunc[source]
Returns a new tensor with the truncated integer values of the elements of input.
Refer to
mindspore.ops.trunc()for more detail.- Supported Platforms:
AscendGPUCPU
Returns a new tensor with the truncated integer values of the elements of input.
Refer to mindspore.ops.trunc() for more detail.
Ascend GPU CPU