class_docstr: Transpose module for torch.nn.Sequential().
class_docstr_tok: ["Transpose","module","for","torch.nn.Sequential","(",")","."]
docstr: Transpose.
docstr_tok: ["Transpose","."]
code: def forward(self, x: torch.Tensor) -> torch.Tensor:
      """Transpose."""
      return x.transpose(self.dim1, self.dim2)
  
imports: import math
  from typing import Optional, Tuple, Union
  import torch
  from espnet2.gan_tts.vits.transform import piecewise_rational_quadratic_transform
label_desc: Use image node_id 2 for calling the Transpose obj's underlying member method code with example usage: obj.forward(x) and returns: x