code: def forward(self, x: Tensor) -> Tensor:
      residual = x
  
      out = self.conv1(x)
      out = self.conv2(out)
      if self.downsample is not None:
          residual = self.downsample(x)
  
      out += residual
      out = self.relu(out)
  
      return out
  
imports: from functools import partial
  from typing import Any, Callable, List, Optional, Sequence, Tuple, Type, Union
  import torch.nn
  from torch import Tensor
  from ...transforms._presets import VideoClassification
  from ...utils import _log_api_usage_once
  from .._api import register_model, Weights, WeightsEnum
  from .._meta import _KINETICS400_CATEGORIES
  from .._utils import _ovewrite_named_param, handle_legacy_interface
  from .._utils import _ModelURLs
label_desc: Use image node_id 2 for calling the BasicBlock obj's underlying member method code with example usage: obj.forward(x) and returns: out