
    ֧gy                        d dl Z  G d de j        j                  Z G d de j        j                  Z G d de j        j                  Z G d d	e          Z G d
 de          Z G d de          Z G d de j        j                  Z	 G d de	          Z
 G d de	          Zd Ze j        fdZe j        fdZdS )    Nc                       e Zd Zd ZdS )QuantizedLinearc                      t          d          )Nzjtorch.jit.QuantizedLinear is no longer supported. Please use torch.ao.nn.quantized.dynamic.Linear instead.RuntimeErrorselfothers     O/var/www/html/ai-engine/env/lib/python3.11/site-packages/torch/jit/quantized.py__init__zQuantizedLinear.__init__   s    <
 
 	
    N__name__
__module____qualname__r    r   r   r   r      #        
 
 
 
 
r   r   c                        e Zd Z fdZ xZS )QuantizedLinearFP16c                 b    t                                                       t          d          )Nzrtorch.jit.QuantizedLinearFP16 is no longer supported. Please use the torch.ao.nn.quantized.dynamic.Linear instead.superr   r   r	   r
   	__class__s     r   r   zQuantizedLinearFP16.__init__   s1    K
 
 	
r   r   r   r   r   __classcell__r   s   @r   r   r      8        
 
 
 
 
 
 
 
 
r   r   c                       e Zd Zd ZdS )QuantizedRNNCellBasec                      t          d          )Nzttorch.jit.QuantizedRNNCellBase is no longer supported. Please use the torch.ao.nn.quantized.dynamic.RNNCell instead.r   r   s     r   r   zQuantizedRNNCellBase.__init__       L
 
 	
r   Nr   r   r   r   r    r       r   r   r    c                       e Zd Zd ZdS )QuantizedRNNCellc                      t          d          )Nzptorch.jit.QuantizedRNNCell is no longer supported. Please use the torch.ao.nn.quantized.dynamic.RNNCell instead.r   r   s     r   r   zQuantizedRNNCell.__init__!   r"   r   Nr   r   r   r   r$   r$       r   r   r$   c                        e Zd Z fdZ xZS )QuantizedLSTMCellc                 d    t                                          |           t          d          )Nzrtorch.jit.QuantizedLSTMCell is no longer supported. Please use the torch.ao.nn.quantized.dynamic.LSTMCell instead.r   r   s     r   r   zQuantizedLSTMCell.__init__)   s3    M
 
 	
r   r   r   s   @r   r'   r'   (   r   r   r'   c                        e Zd Z fdZ xZS )QuantizedGRUCellc                 d    t                                          |           t          d          )Nzptorch.jit.QuantizedGRUCell is no longer supported. Please use the torch.ao.nn.quantized.dynamic.GRUCell instead.r   r   s     r   r   zQuantizedGRUCell.__init__2   s3    L
 
 	
r   r   r   s   @r   r*   r*   1   r   r   r*   c                   "    e Zd Zej        fdZdS )QuantizedRNNBasec                      t          d          )Nzhtorch.jit.QuantizedRNNBase is no longer supported. Please use the torch.ao.nn.quantized.dynamic instead.r   r	   r
   dtypes      r   r   zQuantizedRNNBase.__init__;   s    D
 
 	
r   N)r   r   r   torchint8r   r   r   r   r-   r-   :   s-        $)J 
 
 
 
 
 
r   r-   c                       e Zd Zd ZdS )QuantizedLSTMc                      t          d          )Nzjtorch.jit.QuantizedLSTM is no longer supported. Please use the torch.ao.nn.quantized.dynamic.LSTM instead.r   r/   s      r   r   zQuantizedLSTM.__init__C   s    I
 
 	
r   Nr   r   r   r   r4   r4   B   r   r   r4   c                       e Zd Zd ZdS )QuantizedGRUc                      t          d          )Nzhtorch.jit.QuantizedGRU is no longer supported. Please use the torch.ao.nn.quantized.dynamic.GRU instead.r   )r	   argskwargss      r   r   zQuantizedGRU.__init__K   s    H
 
 	
r   Nr   r   r   r   r7   r7   J   r   r   r7   c                      t          d          )Nzyquantize_rnn_cell_modules function is no longer supported. Please use torch.ao.quantization.quantize_dynamic API instead.r   )modules    r   quantize_rnn_cell_modulesr=   R       
	I  r   c                      t          d          )Nzwquantize_linear_modules function is no longer supported. Please use torch.ao.quantization.quantize_dynamic API instead.r   r<   r0   s     r   quantize_linear_modulesrA   Y   r>   r   c                      t          d          )Nztquantize_rnn_modules function is no longer supported. Please use torch.ao.quantization.quantize_dynamic API instead.r   r@   s     r   quantize_rnn_modulesrC   `   r>   r   )r1   jitScriptModuler   r   r    r$   r'   r*   r-   r4   r7   r=   r2   rA   rC   r   r   r   <module>rF      s   
 
 
 
 
ei, 
 
 

 
 
 
 
%)0 
 
 

 
 
 
 
591 
 
 

 
 
 
 
+ 
 
 

 
 
 
 
, 
 
 

 
 
 
 
+ 
 
 

 
 
 
 
uy- 
 
 

 
 
 
 
$ 
 
 

 
 
 
 
# 
 
 
   +0*     (-z      r   