code: def forward(self, net: Tensor) -> Tensor:
      inp = net
      net = self.net(net)
      if self.shortcut is not None:
          inp = self.shortcut(inp)
      return inp + net
  
imports: import torch
  import torch.nn
  from torch import Tensor
  from typing import List
  from typing import Optional
  from .schema import EncoderMixin
  from ....modules.blocks import Conv2d
label_desc: Use image node_id 2 for calling the ResidualBlock obj's underlying member method code with example usage: obj.forward(net) and returns: unknown