code: def mixed_fp16_quantize(self, input, input_q, index):
      if self.q_mixed_fp16 and self.q_start_bits[index] >= (
          self.q_target_bits - 1
      ):
          input_q = (
              input * self.quantize_real_ratio
              + (1 - self.quantize_real_ratio) * input_q
          )
          return input_q
      return input_q
  
file_path: H2O/h2o_flexgen/benchmark/third_party/DeepSpeed/deepspeed/runtime/quantize.py
imports: import torch
  import math
  from deepspeed.utils import logger
  from deepspeed.ops.quantizer import ds_quantizer
label_desc: Use image node_id 8 for calling the Quantizer obj's underlying member method code with example usage: obj.mixed_fp16_quantize(input, input_q, index) and returns: input_q, input_q