permute¶
- dragon.vm.torch.- permute(
 input,
 dims,
 out=None
 )[source]¶
- Return a tensor with the new order of dimensions. - Parameters:
- input (dragon.vm.torch.Tensor) – The input tensor.
- dims (Sequence[int]) – The output of dimensions.
- out (dragon.vm.torch.Tensor, optional) – The output tensor.
 
 - Returns:
- dragon.vm.torch.Tensor – The output tensor. 
 
