code: def __init__(self, x_scale, y_scale, mode="nearest"):
      super(Stretch2d, self).__init__()
      self.x_scale = x_scale
      self.y_scale = y_scale
      self.mode = mode
  
file_path: TTS/TTS/vocoder/layers/upsample.py
imports: import torch
  from torch.nn import functional
label_desc: Use image node_id 1 to create a new Stretch2d object from inherited base classes: torch.nn with example: obj = Stretch2d(x_scale, y_scale, mode)