code: def check_quantization(
      quantization_type: QuantizationType, perf_loss_ths: float
  ):
      if quantization_type is not None and perf_loss_ths is None:
          logger.warning(
              "Got a valid quantization type without any given quantization "
              "threshold. The quantization step will be ignored."
          )
  
label_desc: Use image node_id 1 for calling a global function with example usage: check_quantization(quantization_type, perf_loss_ths) without return types