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:
Ascend
GPU
CPU
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