class_docstr: Decay the LR based on the inverse square root of the update number.
  
  Example:
  
      .. code-block:: python
  
          start_value: 4.8
          warmup_interval_length: 0.1
  Corresponds to a inverse sqrt decay schedule with values in [4.8, 0]
docstr: Instantiates a InverseSqrtScheduler from a configuration.
  
  Args:
      config: A configuration for a InverseSqrtScheduler.
          See :func:`__init__` for parameters expected in the config.
  
  Returns:
      A InverseSqrtScheduler instance.
docstr_tok: ["Instantiates","a","InverseSqrtScheduler","from","a","configuration",".","Args",":","config",":","A","configuration","for","a","InverseSqrtScheduler",".","See",":","func",":","`","__init__","`","for","parameters","expected","in","the","config",".","Returns",":","A","InverseSqrtScheduler","instance","."]
code: def from_config(
      cls, config: Dict[str, Any]
  ) -> "InverseSqrtScheduler":
      """
      Instantiates a InverseSqrtScheduler from a configuration.
  
      Args:
          config: A configuration for a InverseSqrtScheduler.
              See :func:`__init__` for parameters expected in the config.
  
      Returns:
          A InverseSqrtScheduler instance.
      """
      assert (
          "start_value" in config
      ), "InverseSqrtScheduler requires a start_value"
      assert (
          "warmup_interval_length" in config
      ), "InverseSqrtScheduler requires a warmup_interval_length"
  
      return cls(
          start_value=config["start_value"],
          warmup_interval_length=config["warmup_interval_length"],
          update_interval=UpdateInterval.from_config(
              config, UpdateInterval.STEP
          ),
      )
  
imports: from typing import Any, Dict
  from classy_vision.optim.param_scheduler import ClassyParamScheduler, register_param_scheduler, UpdateInterval
label_desc: Use image node_id 2 for calling the InverseSqrtScheduler obj's underlying member method code with example usage: obj.from_config(cls, config) and returns: cls