class_docstr: ### Up-sample
  
  Each step in the expansive path up-samples the feature map with
  a $2        imes 2$ up-convolution.
class_docstr_tok: ["#","#","#","Up-sample","Each","step","in","the","expansive","path","up-samples","the","feature","map","with","a","$","2","imes","2","$","up-convolution","."]
code: def forward(self, x: torch.Tensor):
      return self.up(x)
  
imports: import torch
  import torchvision.transforms.functional
  from torch import nn
label_desc: Use image node_id 2 for calling the UpSample obj's underlying member method code with example usage: obj.forward(x) and returns: self