class_docstr: A wrapper class for the FP16 optimizer hook. This class wraps
  :class:`Fp16OptimizerHook` in `mmcv.runner` and shows a warning that the
  :class:`Fp16OptimizerHook` from `mmdet.core` will be deprecated.
  
  Refer to :class:`Fp16OptimizerHook` in `mmcv.runner` for more details.
  
  Args:
      loss_scale (float): Scale factor multiplied with loss.
code: def __init__(*args, **kwargs):
      super().__init__(*args, **kwargs)
      warnings.warn(
          'Importing Fp16OptimizerHook from "mmdet.core" will be '
          'deprecated in the future. Please import them from "mmcv.runner" '
          "instead"
      )
  
file_path: insightface/detection/scrfd/mmdet/core/fp16/deprecated_fp16_utils.py
imports: import warnings
  from mmcv.runner import Fp16OptimizerHook, auto_fp16, force_fp32, wrap_fp16_model
label_desc: Use image node_id 1 to create a new DeprecatedFp16OptimizerHook object from inherited base classes: Fp16OptimizerHook with example: obj = DeprecatedFp16OptimizerHook()