
    bIg                    N    d dl mZ d dlZd dlZd dlmZ d dlmZ  G d de      Z	y)    )annotationsN)Base)expectc                      e Zd Zedd       Zy)
HannWindowc                    t         j                  j                  ddgdg      } t        j                  d      }d}d}||t        j
                  dt        j                  z  t        j                  d|d	t        j                  
      z  |z        z  z
  }t        | |g|j                  t        j                        gd       t         j                  j                  ddgdgd      } t        j                  d      }d}d}||t        j
                  dt        j                  z  t        j                  d|d	t        j                  
      z  |d	z
  z        z  z
  }t        | |g|j                  t        j                        gd       y )Nr   xy)inputsoutputs
   g      ?   r      )dtypetest_hannwindow)r   r   name)r   r   periodictest_hannwindow_symmetric)onnxhelper	make_nodenpint32cospiarangefloat32r   astype)nodesizea0a1r
   s        c/var/www/html/answerous/venv/lib/python3.12/site-packages/onnx/backend/test/case/node/hannwindow.pyexportzHannWindow.export   sV    {{$$5E % 

 xx|bffQY1dARZZ)PPSWWXXX$!((2::*>)?FW	

 {{$$# % 
 xx|bffI		!T1BJJ??4!8L
 
 
 	6XXbjj)*,		
    N)returnNone)__name__
__module____qualname__staticmethodr$    r%   r#   r   r      s    
 
r%   r   )

__future__r   numpyr   r   onnx.backend.test.case.baser   onnx.backend.test.case.noder   r   r,   r%   r#   <module>r1      s"    #   , . 
  
r%   