fliplr¶
- dragon.vm.torch.- fliplr(input)[source]¶
- Reverse elements along the second dimension. - Examples: - x = torch.tensor([[1, 2, 3], [4, 5, 6]]) print(torch.fliplr(x)) # [[3, 2, 1], [6, 5, 4]] - Parameters:
- input (dragon.vm.torch.Tensor) – The input tensor.
 
 - Returns:
- dragon.vm.torch.Tensor – The output tensor. 
 
