
    ёi                     
    S  r g)c                     [        U S5      (       d   S5       eU R                  nUR                  (       a  UR                  R	                  X5        UR
                  R	                  X45        g)z 
The forward_post_hook for PTQ.
_quant_configz(The layer should have _quant_config attrN)hasattrr   enable_in_act_quantizerin_act_quantizersample_dataout_act_quantizer)layerinputsoutputsqcs       h/var/www/html/banglarbhumi/venv/lib/python3.13/site-packages/paddle/quantization/imperative/ptq_hooks.pyquant_forward_post_hookr      sa     5/** 2* 
		B	!!
''6$$UJ7    N)r    r   r   <module>r      s
    8r   