
    {-j                         d  Z dS )c                     t          | d          s
J d            | j        }|j        r|j                            | |           |j                            | |f           dS )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.11/site-packages/paddle/quantization/imperative/ptq_hooks.pyquant_forward_post_hookr      sz     5/**  2 * 
	B	! 7
''v666$$UWJ77777    N)r    r   r   <module>r      s    8 8 8 8 8r   