+
    Jåûj(  ã                   ó†   € ^ RI Ht ^ RItR.t ! R R]P                  P
                  P                  P                  4      tR# )é    ©ÚAnyNÚLSTMc                   óÂ   a € ] tR t^t o Rt]P                  P                  P                  P                  t
V 3R lR lt]V 3R lR l4       t]V 3R lR l4       tRtV tR	# )
r   a&  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                ó    <€ V ^8„  d   QhRS[ /# )é   Úreturn)Ústr)ÚformatÚ__classdict__s   "€Ú]C:\Ai_Coding\apps\studio\ComfyUI\.venv\Lib\site-packages\torch\ao\nn\quantized\modules\rnn.pyÚ__annotate__ÚLSTM.__annotate__'   s   ø€ ÷ ñ ™3ñ ó    c                ó   € R # )ÚQuantizedLSTM© )Úselfs   &r   Ú	_get_nameÚLSTM._get_name'   s   € Ùr   c                ó*   <€ V ^8„  d   QhRS[ RS[ RR/# )r   ÚargsÚkwargsr	   Nr   )r   r   s   "€r   r   r   +   s"   ø€ ÷ 
ñ 
™sð 
©cð 
°dñ 
r   c                ó   € \        R 4      h)zrIt looks like you are trying to convert a non-observed LSTM module. Please, see the examples on quantizable LSTMs.)ÚNotImplementedError)Úclsr   r   s   &*,r   Ú
from_floatÚLSTM.from_float*   s   € ô "ð1ó
ð 	
r   c                óˆ   <€ V ^8„  d   QhRS[ R,          RS[P                  P                  P                  P
                  RR/# )r   r   r   Úotherr	   )ÚtypeÚtorchÚaoÚnnÚquantizabler   )r   r   s   "€r   r   r   5   s;   ø€ ÷ 	ñ 	™4 �<ð 	±·±·±×0GÑ0G×0LÑ0Lð 	ÐQWñ 	r   c                óè   € \        WP                  4      '       g%   \        R V P                   R\        V4       24      h\        P
                  P                  P                  VRRR7      pWn        V# )zExpected module type z, got FT)ÚinplaceÚremove_qconfig)	Ú
isinstanceÚ_FLOAT_MODULEÚAssertionErrorr!   r"   r#   ÚquantizationÚconvertÚ	__class__)r   r    Ú	converteds   && r   Úfrom_observedÚLSTM.from_observed4   sq   € ä˜%×!2Ñ!2×3Ò3Ü Ø'¨×(9Ñ(9Ð':¸&ÄÀeÃÀÐNóð ô —H‘H×)Ñ)×1Ñ1Ø˜5°ð 2ó 
ˆ	ð "ÔØÐr   r   N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r"   r#   r$   r%   r   r*   r   Úclassmethodr   r0   Ú__static_attributes__Ú__classdictcell__)r   s   @r   r   r      sW   ø‡ € ñð2 —H‘H—K‘K×+Ñ+×0Ñ0€M÷ð ð ÷
ó ð
ð ÷	ó ö	r   )Útypingr   r"   Ú__all__r#   r$   r%   r   r   r   r   Ú<module>r<      s7   ðÝ ã ð ð€ô
3ˆ5�8‰8�;‰;×"Ñ"×'Ñ'ö 3r   