code: def forward(self, inputs: paddle.Tensor) -> paddle.Tensor:
      y = self.conv0(inputs)
      conv1 = self.conv1(y)
  
      if self.shortcut:
          short = inputs
      else:
          short = self.short(inputs)
      y = paddle.elementwise_add(x=short, y=conv1, act="relu")
  
      return y
  
file_path: PaddleHub/modules/image/semantic_segmentation/ginet_resnet101vd_ade20k/resnet.py
imports: import paddle
  import paddle.nn
  import paddle.nn.functional
  import ginet_resnet101vd_ade20k.layers
label_desc: Use image node_id 2 for calling the BasicBlock obj's underlying member method code with example usage: obj.forward(inputs) and returns: y