ó
    Ñ‘®i…  ã                   ó^   • S SK r SSKJrJrJrJr   " S S5      r\" \" 5       \" 5       5      rg)é    Né   )ÚSUPPORT_ACT_QUANTIZERSÚSUPPORT_WT_QUANTIZERSÚKLQuantizerÚPerChannelAbsmaxQuantizerc                   ó,   ^ • \ rS rSrSrU 4S jrSrU =r$ )Ú	PTQConfigé   z>
The PTQ config shows how to quantize the inputs and outputs.
c                 ó`  >• [         TU ]  5         [        U[        [        5      5      (       d   e[        U[        [
        5      5      (       d   e[        R                  " U5      U l        [        R                  " U5      U l	        [        R                  " U5      U l
        SU l        SU l        g)zû
Constructor.

Args:
    activation_quantizer(BaseQuantizer): The activation quantizer.
        It should be the instance of BaseQuantizer.
    weight_quantizer(BaseQuantizer): The weight quantizer.
        It should be the instance of BaseQuantizer.
NF)ÚsuperÚ__init__Ú
isinstanceÚtupler   r   ÚcopyÚdeepcopyÚin_act_quantizerÚout_act_quantizerÚwt_quantizerÚquant_hook_handleÚenable_in_act_quantizer)ÚselfÚactivation_quantizerÚweight_quantizerÚ	__class__s      €Úi/var/www/html/banglarbhumi/venv/lib/python3.13/site-packages/paddle/quantization/imperative/ptq_config.pyr   ÚPTQConfig.__init__   sŒ   ø€ ô 	‰ÑÔÜÐ.´Ô6LÓ0M×NÑNÐNÐNÜÐ*¬EÔ2GÓ,H×IÑIÐIÐIä $§¢Ð.BÓ CˆÔÜ!%§¢Ð/CÓ!DˆÔÜ ŸMšMÐ*:Ó;ˆÔà!%ˆÔð (-ˆÕ$ó    )r   r   r   r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   Ú__static_attributes__Ú__classcell__)r   s   @r   r	   r	      s   ø† ñ÷-ó -r   r	   )r   Úptq_quantizerr   r   r   r   r	   Údefault_ptq_config© r   r   Ú<module>r(      s3   ðó ÷ó ÷-ñ -ñ< ™{›}Ñ.GÓ.IÓJÑ r   