docstr: ResNeXt3DBase implements everything in ResNeXt3D model except the
  construction of 4 stages. See more details in ResNeXt3D.
docstr_tok: ["ResNeXt3DBase","implements","everything","in","ResNeXt3D","model","except","the","construction","of","4","stages",".","See","more","details","in","ResNeXt3D","."]
code: def __init__(
      self,
      input_key,
      input_planes,
      clip_crop_size,
      frames_per_clip,
      num_blocks,
      stem_name,
      stem_planes,
      stem_temporal_kernel,
      stem_spatial_kernel,
      stem_maxpool,
  ):
      """
      ResNeXt3DBase implements everything in ResNeXt3D model except the
      construction of 4 stages. See more details in ResNeXt3D.
      """
      super(ResNeXt3DBase, self).__init__()
  
      self._input_key = input_key
      self.input_planes = input_planes
      self.clip_crop_size = clip_crop_size
      self.frames_per_clip = frames_per_clip
      self.num_blocks = num_blocks
  
      assert stem_name in model_stems, "unknown stem: %s" % stem_name
      self.stem = model_stems[stem_name](
          stem_temporal_kernel,
          stem_spatial_kernel,
          input_planes,
          stem_planes,
          stem_maxpool,
      )
  
imports: import logging
  from typing import Any, Dict, Sequence
  import torch
  import torch.nn
  from classy_vision.generic.util import is_pos_int, is_pos_int_list
  from .None import register_model
  from .classy_model import ClassyModel
  from .resnext3d_stage import ResStage
  from .resnext3d_stem import R2Plus1DStem, ResNeXt3DStem
label_desc: Use image node_id 1 to create a new ResNeXt3DBase object from inherited base classes: ClassyModel with example: obj = ResNeXt3DBase(input_key, input_planes, clip_crop_size, frames_per_clip, num_blocks, stem_name, stem_planes, stem_temporal_kernel, stem_spatial_kernel, stem_maxpool)