torch.floor
- torch.floor(input, *, out=None) → Tensor
Returns a new tensor with the floor of the elements of
input, the largest integer less than or equal to each element.For integer inputs, follows the array-api convention of returning a copy of the input tensor.