parameters: (self, quantize_info)
docstring: Freeze the quantize info into the quantize calibrate and evaluate model.
docstring_summary: Freeze the quantize info into the quantize calibrate and evaluate model.
docstring_tokens: Freeze the quantize info into the quantize calibrate and evaluate model .
function: def _freeze_quantize_info(self, quantize_info):
      """Freeze the quantize info into the quantize calibrate and evaluate model."""
      if not self._qcb_model:
        logger.error('No qcb_model found.')
  
      if not self._qcbev_model:
        logger.error('No qcbev_model found.')
  
      # Freeze the quantize info into the quantized model
      model_utils.set_quantize_info(self._qcb_model, quantize_info)
      model_utils.set_quantize_info(self._qcbev_model, quantize_info)
function_tokens: def _freeze_quantize_info ( self , quantize_info ) : if not self . _qcb_model : logger . error ( 'No qcb_model found.' ) if not self . _qcbev_model : logger . error ( 'No qcbev_model found.' ) # Freeze the quantize info into the quantized model model_utils . set_quantize_info ( self . _qcb_model , quantize_info ) model_utils . set_quantize_info ( self . _qcbev_model , quantize_info )