class_docstr: SlowFast model builder for SlowFast network.
  
  Christoph Feichtenhofer, Haoqi Fan, Jitendra Malik, and Kaiming He.
  "SlowFast networks for video recognition."
  https://arxiv.org/pdf/1812.03982.pdf
class_docstr_tok: ["SlowFast","model","builder","for","SlowFast","network",".","Christoph","Feichtenhofer",",","Haoqi","Fan",",","Jitendra","Malik",",","and","Kaiming","He",".","``","SlowFast","networks","for","video","recognition",".","''","https",":","\/\/arxiv.org\/pdf\/1812.03982.pdf"]
docstr: The `__init__` method of any subclass should also contain these
      arguments.
  Args:
      cfg (CfgNode): model building configs, details are in the
          comments of the config file.
code: def __init__(self, cfg):
      """
      The `__init__` method of any subclass should also contain these
          arguments.
      Args:
          cfg (CfgNode): model building configs, details are in the
              comments of the config file.
      """
      super(SlowFast, self).__init__()
      self.norm_module = get_norm(cfg)
      self.cfg = cfg
      self.enable_detection = cfg.DETECTION.ENABLE
      self.num_pathways = 2
      self._construct_network(cfg)
      init_helper.init_weights(
          self,
          cfg.MODEL.FC_INIT_STD,
          cfg.RESNET.ZERO_INIT_FINAL_BN,
          cfg.RESNET.ZERO_INIT_FINAL_CONV,
      )
  
imports: import math
  from functools import partial
  import torch
  import torch.nn
  import torch.nn.functional
  from torch.nn.init import trunc_normal_
  import slowfast.utils.logging
  import slowfast.utils.weight_init_helper
  from slowfast.models.attention import MultiScaleBlock
  from slowfast.models.batchnorm_helper import get_norm
  from slowfast.models.common import TwoStreamFusion
  from slowfast.models.reversible_mvit import ReversibleMViT
  from slowfast.models.utils import calc_mvit_feature_geometry, get_3d_sincos_pos_embed, round_width, validate_checkpoint_wrapper_import
  from .None import head_helper, operators, resnet_helper, stem_helper
  from .build import MODEL_REGISTRY
label_desc: Use image node_id 1 to create a new SlowFast object from inherited base classes: nn with example: obj = SlowFast(cfg)