class_docstr: ### Scale up the feature map by $2  imes$
class_docstr_tok: ["#","#","#","Scale","up","the","feature","map","by","$","2","imes","$"]
code: def __init__(self, n_channels):
      super().__init__()
      self.conv = nn.ConvTranspose2d(
          n_channels, n_channels, (4, 4), (2, 2), (1, 1)
      )
  
imports: import math
  from typing import Optional, Tuple, Union, List
  import torch
  from torch import nn
  from labml_helpers.module import Module
label_desc: Use image node_id 1 to create a new Upsample object from inherited base classes: nn with example: obj = Upsample(n_channels)