class_docstr: Implementation of:
      1. Conventional `post-activated 3D ResNe(X)t <https://arxiv.org/
      abs/1812.03982>`_.
  
      2. `Pre-activated 3D ResNe(X)t <https://arxiv.org/abs/1811.12814>`_.
      The model consists of one stem, a number of stages, and one or multiple
      heads that are attached to different blocks in the stage.
docstr: Instantiates a ResNeXt3D from a configuration.
  
  Args:
      config: A configuration for a ResNeXt3D.
          See :func:`__init__` for parameters expected in the config.
  
  Returns:
      A ResNeXt3D instance.
docstr_tok: ["Instantiates","a","ResNeXt3D","from","a","configuration",".","Args",":","config",":","A","configuration","for","a","ResNeXt3D",".","See",":","func",":","`","__init__","`","for","parameters","expected","in","the","config",".","Returns",":","A","ResNeXt3D","instance","."]
code: def from_config(cls, config: Dict[str, Any]) -> "ResNeXt3D":
      """Instantiates a ResNeXt3D from a configuration.
  
      Args:
          config: A configuration for a ResNeXt3D.
              See :func:`__init__` for parameters expected in the config.
  
      Returns:
          A ResNeXt3D instance.
      """
      ret_config = ResNeXt3D._parse_config(config)
      return cls(**ret_config)
  
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 2 for calling the ResNeXt3D obj's underlying member method code with example usage: obj.from_config(cls, config) and returns: cls