code: def __init__(self, scale=(2, 1, 1)):
      super(Upsampling, self).__init__()
      self.scale = scale
  
imports: import numpy
  import torch
  import torch.nn
  import torch.utils.checkpoint
  import torch.nn.functional
label_desc: Use image node_id 1 to create a new Upsampling object from inherited base classes: nn with example: obj = Upsampling(scale)