o
    úÇhy  ã                   @   sÐ   d dl Z G dd„ de jjƒZG dd„ de jjƒZG dd„ de jjƒZG dd	„ d	eƒZG d
d„ deƒZG dd„ deƒZG dd„ de jjƒZ	G dd„ de	ƒZ
G dd„ de	ƒZdd„ Ze jfdd„Ze jfdd„ZdS )é    Nc                   @   ó   e Zd Zdd„ ZdS )ÚQuantizedLinearc                 C   ó   t dƒ‚)Nzjtorch.jit.QuantizedLinear is no longer supported. Please use torch.ao.nn.quantized.dynamic.Linear instead.©ÚRuntimeError©ÚselfÚother© r
   úg/var/www/html/construction_image-detection-poc/venv/lib/python3.10/site-packages/torch/jit/quantized.pyÚ__init__   ó   ÿzQuantizedLinear.__init__N©Ú__name__Ú
__module__Ú__qualname__r   r
   r
   r
   r   r      ó    r   c                       ó   e Zd Z‡ fdd„Z‡  ZS )ÚQuantizedLinearFP16c                    s   t ƒ  ¡  tdƒ‚)Nzrtorch.jit.QuantizedLinearFP16 is no longer supported. Please use the torch.ao.nn.quantized.dynamic.Linear instead.©Úsuperr   r   r   ©Ú	__class__r
   r   r      s   
ÿzQuantizedLinearFP16.__init__©r   r   r   r   Ú__classcell__r
   r
   r   r   r      ó    r   c                   @   r   )ÚQuantizedRNNCellBasec                 C   r   )Nzttorch.jit.QuantizedRNNCellBase is no longer supported. Please use the torch.ao.nn.quantized.dynamic.RNNCell instead.r   r   r
   r
   r   r      r   zQuantizedRNNCellBase.__init__Nr   r
   r
   r
   r   r      r   r   c                   @   r   )ÚQuantizedRNNCellc                 C   r   )Nzptorch.jit.QuantizedRNNCell is no longer supported. Please use the torch.ao.nn.quantized.dynamic.RNNCell instead.r   r   r
   r
   r   r   !   r   zQuantizedRNNCell.__init__Nr   r
   r
   r
   r   r       r   r   c                       r   )ÚQuantizedLSTMCellc                    ó   t ƒ  |¡ tdƒ‚)Nzrtorch.jit.QuantizedLSTMCell is no longer supported. Please use the torch.ao.nn.quantized.dynamic.LSTMCell instead.r   r   r   r
   r   r   )   ó   ÿzQuantizedLSTMCell.__init__r   r
   r
   r   r   r   (   r   r   c                       r   )ÚQuantizedGRUCellc                    r   )Nzptorch.jit.QuantizedGRUCell is no longer supported. Please use the torch.ao.nn.quantized.dynamic.GRUCell instead.r   r   r   r
   r   r   2   r    zQuantizedGRUCell.__init__r   r
   r
   r   r   r!   1   r   r!   c                   @   s   e Zd Zejfdd„ZdS )ÚQuantizedRNNBasec                 C   r   )Nzhtorch.jit.QuantizedRNNBase is no longer supported. Please use the torch.ao.nn.quantized.dynamic instead.r   ©r   r	   Údtyper
   r
   r   r   ;   r   zQuantizedRNNBase.__init__N)r   r   r   ÚtorchÚint8r   r
   r
   r
   r   r"   :   s    r"   c                   @   r   )ÚQuantizedLSTMc                 C   r   )Nzjtorch.jit.QuantizedLSTM is no longer supported. Please use the torch.ao.nn.quantized.dynamic.LSTM instead.r   r#   r
   r
   r   r   C   r   zQuantizedLSTM.__init__Nr   r
   r
   r
   r   r'   B   r   r'   c                   @   r   )ÚQuantizedGRUc                 O   r   )Nzhtorch.jit.QuantizedGRU is no longer supported. Please use the torch.ao.nn.quantized.dynamic.GRU instead.r   )r   ÚargsÚkwargsr
   r
   r   r   K   r   zQuantizedGRU.__init__Nr   r
   r
   r
   r   r(   J   r   r(   c                 C   r   )Nzyquantize_rnn_cell_modules function is no longer supported. Please use torch.ao.quantization.quantize_dynamic API instead.r   )Úmoduler
   r
   r   Úquantize_rnn_cell_modulesR   r   r,   c                 C   r   )Nzwquantize_linear_modules function is no longer supported. Please use torch.ao.quantization.quantize_dynamic API instead.r   ©r+   r$   r
   r
   r   Úquantize_linear_modulesY   r   r.   c                 C   r   )Nztquantize_rnn_modules function is no longer supported. Please use torch.ao.quantization.quantize_dynamic API instead.r   r-   r
   r
   r   Úquantize_rnn_modules`   r   r/   )r%   ÚjitÚScriptModuler   r   r   r   r   r!   r"   r'   r(   r,   r&   r.   r/   r
   r
   r
   r   Ú<module>   s   	
		