class_docstr: Swaps two dimensions of a tensor
  
  :param dim1: (int):
      first dim to switch
  :param dim2: (int):
      second dim to switch
code: def __call__(self, *inputs):
      outputs = []
      idx = None
      for idx, _input in enumerate(inputs):
          _input = th.transpose(_input, self.dim1, self.dim2)
          outputs.append(_input)
      return outputs if idx >= 1 else outputs[0]
  
imports: import os
  import random
  import math
  import numpy
  import torch
label_desc: Use image node_id 2 for calling the Transpose obj's underlying member method code with example usage: obj.__call__() and returns: unknown