
    h                     .    S SK rS SKJr   " S S\5      rg)    N)_CommonWindowc                   "    \ rS rSrSrSS jrSrg)BlackmanWindow   z
Returns
:math:`\omega_n = 0.42 - 0.5 \cos \left( \frac{2\pi n}{N-1} \right) +
0.08 \cos \left( \frac{4\pi n}{N-1} \right)`
where *N* is the window length.
See `blackman_window
<https://pytorch.org/docs/stable/generated/torch.blackman_window.html>`_
Nc                 $   [         R                  " U5      UpTUS:X  a  US-
  nSnSn[         R                  n[         R                  " XHS-  -  U-  5      S-  n	U	[         R                  " XHS-  -  U-  5      U-  -  n	X-  n	U R	                  XU5      $ )Nr      gzG?g{Gz?   g         )nparangepicos_end)
selfsizeoutput_datatypeperiodicniN_1alphabetar   ys
             _/var/www/fran/franai/venv/lib/python3.13/site-packages/onnx/reference/ops/op_blackman_window.py_runBlackmanWindow._run   s    ))D/4Cq='CUUFFBq&MS()T2	RVVR6]c)*T11	
yy/22     )NN)__name__
__module____qualname____firstlineno____doc__r   __static_attributes__r   r   r   r   r      s    
3r   r   )numpyr   $onnx.reference.ops._op_common_windowr   r   r   r   r   <module>r&      s     >3] 3r   