code: def r2plus1d_v1_resnet34_kinetics400(cfg):
      model = R2Plus1D(
          num_classes=cfg.CONFIG.DATA.NUM_CLASSES,
          block=BasicBlock,
          layers=[3, 4, 6, 3],
          num_segment=cfg.CONFIG.DATA.NUM_SEGMENT,
          num_crop=cfg.CONFIG.DATA.NUM_CROP,
          feat_ext=cfg.CONFIG.INFERENCE.FEAT,
          partial_bn=cfg.CONFIG.MODEL.PARTIAL_BN,
      )
  
      if cfg.CONFIG.MODEL.PRETRAINED:
          from ..model_store import get_model_file
  
          model.load_state_dict(
              torch.load(
                  get_model_file(
                      "r2plus1d_v1_resnet34_kinetics400",
                      tag=cfg.CONFIG.MODEL.PRETRAINED,
                  )
              )
          )
      return model
  
imports: import torch
  import torch.nn
  from torch.nn import BatchNorm3d
label_desc: Use image node_id 3 for calling a global function with example usage: r2plus1d_v1_resnet34_kinetics400(cfg) and returns: model