class_docstr: Residual block.
class_docstr_tok: ["Residual","block","."]
code: def forward(self, x):
      f_x = self.branch2(x)
      if self.training and self._drop_connect_rate > 0.0:
          f_x = drop_path(f_x, self._drop_connect_rate)
      if hasattr(self, "branch1"):
          x = self.branch1_bn(self.branch1(x)) + f_x
      else:
          x = x + f_x
      x = self.relu(x)
      return x
  
imports: import torch
  import torch.nn
  from slowfast.models.common import drop_path
  from slowfast.models.nonlocal_helper import Nonlocal
  from slowfast.models.operators import SE, Swish
label_desc: Use image node_id 3 for calling the ResBlock obj's underlying member method code with example usage: obj.forward(x) and returns: x