Ë
    g^(h  ã                   óx   — d dl Z dgZ G d„ de j                  j                  j                  j
                  «      Zy)é    NÚLSTMc                   óŠ   — e Zd ZdZej
                  j                  j                  j                  Z	d„ Z
ed„ «       Zed„ «       Zy)r   ar  A quantized long short-term memory (LSTM).

    For the description and the argument types, please, refer to :class:`~torch.nn.LSTM`

    Attributes:
        layers : instances of the `_LSTMLayer`

    .. note::
        To access the weights and biases, you need to access them per layer.
        See examples in :class:`~torch.ao.nn.quantizable.LSTM`

    Examples::
        >>> # xdoctest: +SKIP
        >>> custom_module_config = {
        ...     'float_to_observed_custom_module_class': {
        ...         nn.LSTM: nn.quantizable.LSTM,
        ...     },
        ...     'observed_to_quantized_custom_module_class': {
        ...         nn.quantizable.LSTM: nn.quantized.LSTM,
        ...     }
        ... }
        >>> tq.prepare(model, prepare_custom_module_class=custom_module_config)
        >>> tq.convert(model, convert_custom_module_class=custom_module_config)
    c                  ó   — y)NÚQuantizedLSTM© )Úselfs    ú_/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/torch/ao/nn/quantized/modules/rnn.pyÚ	_get_namezLSTM._get_name%   s   € Øó    c                 ó   — t        d«      ‚)NzrIt looks like you are trying to convert a non-observed LSTM module. Please, see the examples on quantizable LSTMs.)ÚNotImplementedError)ÚclsÚargsÚkwargss      r	   Ú
from_floatzLSTM.from_float(   s   € ô "ð1ó
ð 	
r   c                 óœ   — t        || j                  «      sJ ‚t        j                  j                  j                  |dd¬«      }| |_        |S )NFT)ÚinplaceÚremove_qconfig)Ú
isinstanceÚ_FLOAT_MODULEÚtorchÚaoÚquantizationÚconvertÚ	__class__)r   ÚotherÚ	converteds      r	   Úfrom_observedzLSTM.from_observed2   sN   € ä˜% ×!2Ñ!2Ô3Ð3Ð3Ü—H‘H×)Ñ)×1Ñ1Ø˜5°ð 2ó 
ˆ	ð "ˆ	ÔØÐr   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   ÚnnÚquantizabler   r   r
   Úclassmethodr   r   r   r   r	   r   r   
   sO   „ ñð0 —H‘H—K‘K×+Ñ+×0Ñ0€Mòð ñ
ó ð
ð ñó ñr   )r   Ú__all__r   r#   r$   r   r   r   r	   ú<module>r'      s4   ðã ð ð€ô
/ˆ5�8‰8�;‰;×"Ñ"×'Ñ'õ /r   