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