U
    rh                     @  sH   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 deZ	dS )    )annotationsN)Base)expectc                   @  s   e Zd ZeddddZdS )
HannWindowNone)returnc                  C  s   t jjddgdgd} td}d}d}||tdtj tjd|d	tjd
 |   }t	| |g|
tjgdd t jjddgdgdd} td}d}d}||tdtj tjd|d	tjd
 |d	    }t	| |g|
tjgdd d S )Nr   xy)inputsoutputs
   g      ?   r      )ZdtypeZtest_hannwindow)r
   r   name)r
   r   ZperiodicZtest_hannwindow_symmetric)onnxhelperZ	make_nodenpZint32cospiZarangeZfloat32r   Zastype)nodesizeZa0Za1r	    r   J/tmp/pip-unpacked-wheel-xnis5xre/onnx/backend/test/case/node/hannwindow.pyexport   sB    
0      
$zHannWindow.exportN)__name__
__module____qualname__staticmethodr   r   r   r   r   r      s   r   )

__future__r   Znumpyr   r   Zonnx.backend.test.case.baser   Zonnx.backend.test.case.noder   r   r   r   r   r   <module>   s
   