
    NgE                     J    d dl Zd dlZd dlmZ d dlmZ  G d de          ZdS )    N)Base)expectc                   &    e Zd Zedd            ZdS )BlackmanWindowreturnNc                     t           j                            ddgdg          } t          j        d          }d}d}d}|}||t          j        d	t          j        z  t          j        d
|dt          j                  z  |z            z  z  }||t          j        dt          j        z  t          j        d
|dt          j                  z  |z            z  z  }t          | |g|gd           t           j                            ddgdgd
          } t          j        d          }d}d}d}|}||t          j        d	t          j        z  t          j        d
|dt          j                  z  |dz
  z            z  z  }||t          j        dt          j        z  t          j        d
|dt          j                  z  |dz
  z            z  z  }t          | |g|g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   )nodesizea0a1a2r
   s         f/var/www/html/ai-engine/env/lib/python3.11/site-packages/onnx/backend/test/case/node/blackmanwindow.pyexportzBlackmanWindow.export   s    {$$5E % 
 

 x||	R"&RURYq$%L%L%LLtSTTTT	R"&RURYq$%L%L%LLtSTTTTtTFQC6KLLLL {$$cUSEA % 
 
 x||	R"&I	!T1BJ????4!8L
 
 
 	
 	
R"&I	!T1BJ????4!8L
 
 
 	
 	tTFQC6UVVVVVV    )r   N)__name__
__module____qualname__staticmethodr%    r&   r$   r   r      s8        W W W \W W Wr&   r   )numpyr   r   onnx.backend.test.case.baser   onnx.backend.test.case.noder   r   r+   r&   r$   <module>r/      s~         , , , , , , . . . . . .!W !W !W !W !WT !W !W !W !W !Wr&   