TrainingExtensions/tensorflow/src/python/aimet_tensorflow/quantsim_config/quantsim_config.py
def _disable_all_quantizers(self):
        """
        Set all quantize ops to passThrough and use_symmetric_encodings False
        """
        vars_with_value = {}
        for param_dict, output_quantizer in self._op_to_quant_ops_dict.values():
            for param_quantize_op_set in param_dict.values():
                for param_quantize_op in param_quantize_op_set:
                    vars_with_value[param_quantize_op.name + '_op_mode'] = int(pymo.TensorQuantizerOpMode.passThrough)
            vars_with_value[output_quantizer.name + '_op_mode'] = int(pymo.TensorQuantizerOpMode.passThrough)

        update_variables_with_values(self._sess, vars_with_value)

        Set all quantize ops to passThrough and use_symmetric_encodings False
        
Set all quantize ops to passThrough and use_symmetric_encodings False
Set all quantize ops to passThrough and use_symmetric_encodings False
def _disable_all_quantizers(self):
        vars_with_value = {}
        for param_dict, output_quantizer in self._op_to_quant_ops_dict.values():
            for param_quantize_op_set in param_dict.values():
                for param_quantize_op in param_quantize_op_set:
                    vars_with_value[param_quantize_op.name + '_op_mode'] = int(pymo.TensorQuantizerOpMode.passThrough)
            vars_with_value[output_quantizer.name + '_op_mode'] = int(pymo.TensorQuantizerOpMode.passThrough)
        update_variables_with_values(self._sess, vars_with_value)
def _disable_all_quantizers ( self ) : vars_with_value = { } for param_dict , output_quantizer in self . _op_to_quant_ops_dict . values ( ) : for param_quantize_op_set in param_dict . values ( ) : for param_quantize_op in param_quantize_op_set : vars_with_value [ param_quantize_op . name + '_op_mode' ] = int ( pymo . TensorQuantizerOpMode . passThrough ) vars_with_value [ output_quantizer . name + '_op_mode' ] = int ( pymo . TensorQuantizerOpMode . passThrough ) update_variables_with_values ( self . _sess , vars_with_value )
Set all quantize ops to passThrough and use_symmetric_encodings False
Set all quantize ops to passThrough and use_symmetric_encodings False
"""
        Set all quantize ops to passThrough and use_symmetric_encodings False
        """
self