ceil¶
- dragon.vm.torch.- ceil(
 input,
 out=None
 )[source]¶
- Compute the smallest integer not less than input. \[\text{out} = \lceil \text{input} \rceil \]- Examples: - x = torch.tensor([1.4, 1.7, 2.0]) print(torch.ceil(x)) # [2., 2., 2.] - Parameters:
- input (dragon.vm.torch.Tensor) – The input tensor.
- out (dragon.vm.torch.Tensor, optional) – The output tensor.
 
 - Returns:
- dragon.vm.torch.Tensor – The output tensor. 
 
