floor¶
- dragon.vm.torch.- floor(
 input,
 out=None
 )[source]¶
- Compute the largest integer not greater than input. \[\text{out} = \lfloor \text{input} \rfloor \]- Examples: - x = torch.tensor([0.9, 1.4, 1.9]) print(torch.floor(x)) # [0., 1., 1.] - 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. 
 
