TruncΒΆ
Returns a new tensor with the truncated integer values of the elements of input.
Abstract Signature:
Trunc(input: Tensor)
Apple MLX
API:
mlx.core.truncStrategy: Macro 'mlx.core.array(np.trunc(np.array({input})))'
Returns a new tensor with the truncated integer values of the elements of input.
Abstract Signature:
Trunc(input: Tensor)
mlx.core.trunc