code: def r3d_18_rgb(pretrained=False, progress=True, **kwargs):
      """Construct 18 layer Resnet3D model 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: R3D-18 network
      """
  
      return _video_resnet(
          "r3d_18",
          pretrained,
          progress,
          block=BasicBlock,
          conv_makers=[Conv3DSimple] * 4,
          layers=[2, 2, 2, 2],
          stem=BasicStem,
          **kwargs,
      )
  
imports: import torch.nn
  from torch.hub import load_state_dict_from_url
label_desc: Use image node_id 3 for calling a global function with example usage: r3d_18_rgb(pretrained, progress) and returns: _video_resnet