class_docstr: This module returns a view of the tensor input with its dimensions permuted.
  
  Args:
      dims (List[int]): The desired ordering of dimensions
code: def __init__(self, dims: List[int]):
      super().__init__()
      self.dims = dims
  
imports: import warnings
  from typing import Callable, List, Optional, Sequence, Tuple, Union
  import torch
  from torch import Tensor
  from ..utils import _log_api_usage_once, _make_ntuple
label_desc: Use image node_id 1 to create a new Permute object from inherited base classes: torch.nn with example: obj = Permute(dims)