a
    “º”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                   @   s   e Zd Zdd„ ZdS )ÚQuantizedLinearc                 C   s   t dƒ‚d S )Nzjtorch.jit.QuantizedLinear is no longer supported. Please use torch.ao.nn.quantized.dynamic.Linear instead.©ÚRuntimeError©ÚselfÚother© r   úA/var/www/auris/lib/python3.9/site-packages/torch/jit/quantized.pyÚ__init__   s    ÿzQuantizedLinear.__init__N©Ú__name__Ú
__module__Ú__qualname__r
   r   r   r   r	   r      s   r   c                       s   e Zd Z‡ fdd„Z‡  ZS )ÚQuantizedLinearFP16c                    s   t ƒ  ¡  tdƒ‚d S )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      s   r   c                   @   s   e Zd Zdd„ ZdS )ÚQuantizedRNNCellBasec                 C   s   t dƒ‚d S )Nzttorch.jit.QuantizedRNNCellBase is no longer supported. Please use the torch.ao.nn.quantized.dynamic.RNNCell instead.r   r   r   r   r	   r
      s    ÿzQuantizedRNNCellBase.__init__Nr   r   r   r   r	   r      s   r   c                   @   s   e Zd Zdd„ ZdS )ÚQuantizedRNNCellc                 C   s   t dƒ‚d S )Nzptorch.jit.QuantizedRNNCell is no longer supported. Please use the torch.ao.nn.quantized.dynamic.RNNCell instead.r   r   r   r   r	   r
   !   s    ÿzQuantizedRNNCell.__init__Nr   r   r   r   r	   r       s   r   c                       s   e Zd Z‡ fdd„Z‡  ZS )ÚQuantizedLSTMCellc                    s   t ƒ  |¡ tdƒ‚d S )Nzrtorch.jit.QuantizedLSTMCell is no longer supported. Please use the torch.ao.nn.quantized.dynamic.LSTMCell instead.r   r   r   r   r	   r
   )   s    ÿzQuantizedLSTMCell.__init__r   r   r   r   r	   r   (   s   r   c                       s   e Zd Z‡ fdd„Z‡  ZS )ÚQuantizedGRUCellc                    s   t ƒ  |¡ tdƒ‚d S )Nzptorch.jit.QuantizedGRUCell is no longer supported. Please use the torch.ao.nn.quantized.dynamic.GRUCell instead.r   r   r   r   r	   r
   2   s    ÿzQuantizedGRUCell.__init__r   r   r   r   r	   r   1   s   r   c                   @   s   e Zd Zejfdd„ZdS )ÚQuantizedRNNBasec                 C   s   t dƒ‚d S )Nzhtorch.jit.QuantizedRNNBase is no longer supported. Please use the torch.ao.nn.quantized.dynamic instead.r   ©r   r   Údtyper   r   r	   r
   ;   s    ÿzQuantizedRNNBase.__init__N)r   r   r   ÚtorchÚint8r
   r   r   r   r	   r   :   s   r   c                   @   s   e Zd Zdd„ ZdS )ÚQuantizedLSTMc                 C   s   t dƒ‚d S )Nzjtorch.jit.QuantizedLSTM is no longer supported. Please use the torch.ao.nn.quantized.dynamic.LSTM instead.r   r   r   r   r	   r
   C   s    ÿzQuantizedLSTM.__init__Nr   r   r   r   r	   r   B   s   r   c                   @   s   e Zd Zdd„ ZdS )ÚQuantizedGRUc                 O   s   t dƒ‚d S )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   s    ÿzQuantizedGRU.__init__Nr   r   r   r   r	   r    J   s   r    c                 C   s   t dƒ‚d S )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   s    ÿr$   c                 C   s   t dƒ‚d S )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   s    ÿr&   c                 C   s   t dƒ‚d S )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`   s    ÿr'   )r   ZjitZScriptModuler   r   r   r   r   r   r   r   r    r$   r   r&   r'   r   r   r   r	   Ú<module>   s   	
		