class_docstr: Swaps two dimensions of a tensor
  
  :param dim1: (int):
      first dim to switch
  :param dim2: (int):
      second dim to switch
code: def __init__(self, dim1, dim2):
      self.dim1 = dim1
      self.dim2 = dim2
  
imports: import os
  import random
  import math
  import numpy
  import torch
label_desc: Use image node_id 1 to create a new Transpose object  with example: obj = Transpose(dim1, dim2)