§
    2�Åj²  ã                  óB   — d dl mZ d dlZd dlmZ  G d„ de¦  «        ZdS )é    )ÚannotationsN)Ú_CommonWindowc                  ó   — e Zd ZdZdd„ZdS )Ú
HannWindowzÇReturns :math:`\\omega_n = \\sin^2\\left( \\frac{\\pi n}{N-1} \\right)` where *N* is the window length.

    See `hann_window <https://pytorch.org/docs/stable/generated/torch.hann_window.html>`_
    Nc                ó²   — |                       |||¦  «        \  }}t          j        |t          j        z  |z  ¦  «        dz  }|                      |||¦  «        S )Né   )Ú_beginÚnpÚsinÚpiÚ_end)ÚselfÚsizeÚoutput_datatypeÚperiodicÚniÚN_1Úress          úRC:\Projects\Historical\venv\Lib\site-packages\onnx/reference/ops/op_hann_window.pyÚ_runzHannWindow._run   sP   € Ø—+’+˜d H¨oÑ>Ô>‰ˆˆCÝŒf�R�"œ%‘Z #Ñ%Ñ&Ô&¨!Ñ+ˆØ�yŠy˜˜s OÑ4Ô4Ð4ó    )NN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   © r   r   r   r      s2   € € € € € ðð ð
5ð 5ð 5ð 5ð 5ð 5r   r   )Ú
__future__r   Únumpyr
   Ú$onnx.reference.ops._op_common_windowr   r   r   r   r   ú<module>r       sk   ðð #Ð "Ð "Ð "Ð "Ð "à Ð Ð Ð à >Ð >Ð >Ð >Ð >Ð >ð	5ð 	5ð 	5ð 	5ð 	5�ñ 	5ô 	5ð 	5ð 	5ð 	5r   