
    Si                    :    S SK Jr  S SKrS SKJr   " S S\5      rg)    )annotationsN)_CommonWindowc                  "    \ rS rSrSrSS jrSrg)
HannWindow   zReturns :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                    U R                  XU5      u  pE[        R                  " U[        R                  -  U-  5      S-  nU R	                  XU5      $ )N   )_beginnpsinpi_end)selfsizeoutput_datatypeperiodicniN_1ress          `/var/www/html/ai-image-ml/venv/lib/python3.13/site-packages/onnx/reference/ops/op_hann_window.py_runHannWindow._run   sE    ++do>ffR"%%Z#%&!+yyO44     )NN)__name__
__module____qualname____firstlineno____doc__r   __static_attributes__r   r   r   r   r      s    
5r   r   )
__future__r   numpyr   $onnx.reference.ops._op_common_windowr   r   r   r   r   <module>r$      s    #  >	5 	5r   