code: def __init__(self, *args, **kwargs):
      super(ContextPath, self).__init__()
      self.resnet = Resnet18()
      self.arm16 = AttentionRefinementModule(256, 128)
      self.arm32 = AttentionRefinementModule(512, 128)
      self.conv_head32 = ConvBNReLU(128, 128, ks=3, stride=1, padding=1)
      self.conv_head16 = ConvBNReLU(128, 128, ks=3, stride=1, padding=1)
      self.conv_avg = ConvBNReLU(512, 128, ks=1, stride=1, padding=0)
  
      self.init_weight()
  
imports: import torch
  import torch.nn
  import torch.nn.functional
  from ParsingResnet import Resnet18
label_desc: Use image node_id 1 to create a new ContextPath object from inherited base classes: nn with example: obj = ContextPath()