code: def check_validation(self) -> None:
      for ts in self._target_spaces.values():
          for target_space in ts.values():
              if target_space.quant_scheme != "affine":
                  warn_msg = f"LsqPlusQuantizer only supports affine mode, but got {target_space.quant_scheme}"
                  _logger.warning(warn_msg)
  
imports: from __future__ import annotations
  import logging
  from typing import List, Dict, overload
  import torch
  from torch import Tensor
  from ..base.compressor import Compressor, Quantizer
  from ..base.wrapper import ModuleWrapper
  from ..utils import Evaluator, _EVALUATOR_DOCSTRING
label_desc: Use image node_id 5 for calling the LsqPlusQuantizer obj's underlying member method code with example usage: obj.check_validation() without return types