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 )BlackmanWindowNone)returnc                  C  sf  t jjddgdgd} td}d}d}d}|}||td	tj tjd
|dtjd |  7 }||tdtj tjd
|dtjd |  7 }t	| |g|
tjgdd t jjddgdgd
d} td}d}d}d}|}||td	tj tjd
|dtjd |d   7 }||tdtj tjd
|dtjd |d   7 }t	| |g|
tjgdd d S )Nr   xy)inputsoutputs
   gzG?g      g{Gz?   r      )Zdtype   Ztest_blackmanwindow)r
   r   name)r
   r   ZperiodicZtest_blackmanwindow_symmetric)onnxhelperZ	make_nodenpZint32cospiZarangeZfloat32r   Zastype)nodesizeZa0Za1Za2r	    r   N/tmp/pip-unpacked-wheel-xnis5xre/onnx/backend/test/case/node/blackmanwindow.pyexport   sR    
00   
$$zBlackmanWindow.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
   