o
    wi                     @  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ZdS )BlackmanWindowreturnNonec                  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      )dtype   test_blackmanwindow)r
   r   name)r
   r   periodictest_blackmanwindow_symmetric)onnxhelper	make_nodenpint32cospiarangefloat32r   astype)nodesizea0a1a2r	    r$   g/home/ubuntu/sommelier/.venv/lib/python3.10/site-packages/onnx/backend/test/case/node/blackmanwindow.pyexport   sL   
00
$$
zBlackmanWindow.exportN)r   r   )__name__
__module____qualname__staticmethodr&   r$   r$   r$   r%   r      s    r   )

__future__r   numpyr   r   onnx.backend.test.case.baser   onnx.backend.test.case.noder   r   r$   r$   r$   r%   <module>   s   