TrainingExtensions/tensorflow/src/python/aimet_tensorflow/quantsim.py
def _param_op_mode_after_analysis(quant_scheme) -> libpymo.TensorQuantizerOpMode:
        """
        Returns op mode to use for parameters after encodings have been computed
        :param quant_scheme: Quantization scheme to use
        :return:
        """
        if quant_scheme in [QuantScheme.training_range_learning_with_tf_init,
                            QuantScheme.training_range_learning_with_tf_enhanced_init]:
            op_mode = libpymo.TensorQuantizerOpMode.quantizeDequantize
        else:
            op_mode = libpymo.TensorQuantizerOpMode.oneShotQuantizeDequantize

        return op_mode

        Returns op mode to use for parameters after encodings have been computed
        :param quant_scheme: Quantization scheme to use
        :return:
        
Returns op mode to use for parameters after encodings have been computed
Returns op mode to use for parameters after encodings have been computed
def _param_op_mode_after_analysis(quant_scheme) -> libpymo.TensorQuantizerOpMode:
        if quant_scheme in [QuantScheme.training_range_learning_with_tf_init,
                            QuantScheme.training_range_learning_with_tf_enhanced_init]:
            op_mode = libpymo.TensorQuantizerOpMode.quantizeDequantize
        else:
            op_mode = libpymo.TensorQuantizerOpMode.oneShotQuantizeDequantize
        return op_mode
def _param_op_mode_after_analysis ( quant_scheme ) -> libpymo . TensorQuantizerOpMode : if quant_scheme in [ QuantScheme . training_range_learning_with_tf_init , QuantScheme . training_range_learning_with_tf_enhanced_init ] : op_mode = libpymo . TensorQuantizerOpMode . quantizeDequantize else : op_mode = libpymo . TensorQuantizerOpMode . oneShotQuantizeDequantize return op_mode
Returns op mode to use for parameters after encodings have been computed
Returns op mode to use for parameters after encodings have been computed
"""
        Returns op mode to use for parameters after encodings have been computed
        :param quant_scheme: Quantization scheme to use
        :return:
        """
None
quant_scheme
Quantization scheme to use
Quantization scheme to use