code: def forward(self, x):
      x = x.permute(self.dims)
      if self.make_contiguous:
          x = x.contiguous()
      return x
  
imports: from torch import nn
label_desc: Use image node_id 2 for calling the Permute obj's underlying member method code with example usage: obj.forward(x) and returns: x