TensortruncTensor.trunc() Returns the truncated value of the input, element-wise. Usage from tinygrad.tensor import Tensor a1 = Tensor([[1.23423, 2, 3, 4]]) a1 = a1.trunc() print(a1.numpy()) Return value [[1. 2. 3. 4.]]triuuniform