code: def r2plus1d_18_rgb(pretrained=False, progress=True, **kwargs):
      """Constructor for the 18 layer deep R(2+1)D network for RGB as in
      https://arxiv.org/abs/1711.11248
  
      Args:
          pretrained (bool): If True, returns a model pre-trained on Kinetics-400
          progress (bool): If True, displays a progress bar of the download to stderr
  
      Returns:
          nn.Module: R(2+1)D-18 network
      """
  
      return _video_resnet(
          "r2plus1d_18",
          pretrained,
          progress,
          block=BasicBlock,
          conv_makers=[Conv2Plus1D] * 4,
          layers=[2, 2, 2, 2],
          stem=R2Plus1dStem,
          **kwargs,
      )
  
imports: import torch.nn
  from torch.hub import load_state_dict_from_url
label_desc: Use image node_id 7 for calling a global function with example usage: r2plus1d_18_rgb(pretrained, progress) and returns: _video_resnet