docstr: Perform the forward pass.
docstr_tok: ["Perform","the","forward","pass","."]
code: def forward(self, x: torch.Tensor) -> torch.Tensor:
      """Perform the forward pass."""
      x_input = x
      if self.training:
          x = self.normalization(x)
      x = self.linear_first(x)
      x = self.activation_first(x)
      x = self.dropout(x)
      x = self.linear_second(x)
      x = x_input + x
      return x
  
file_path: lightwood/lightwood/mixer/helpers/residual_net.py
imports: from typing import List
  import torch
  from torch import nn
  from lightwood.helpers.torch import LightwoodAutocast
  from lightwood.helpers.device import get_device_from_name, get_devices
  from lightwood.helpers.log import log
label_desc: Use image node_id 2 for calling the ResidualModule obj's underlying member method code with example usage: obj.forward(x) and returns: x