
    Ng                     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edd            ZdS )	MaxUnpoolreturnNc                     t           j                            dddgdgddgddg          } t          j        ddgdd	ggggt          j        
          }t          j        ddgddggggt          j        
          }t          j        g dg dg dg dgggt          j        
          }t          | ||g|gd           d S )Nr   xTxIy   inputsoutputskernel_shapestrides         dtype            )r   r   r   r   )r   r   r   r   )r   r   r   r   *test_maxunpool_export_without_output_shaper   r   nameonnxhelper	make_nodenparrayfloat32int64r   )noder	   r
   r   s       a/var/www/html/ai-engine/env/lib/python3.11/site-packages/onnx/backend/test/case/node/maxunpool.pyexport_without_output_shapez%MaxUnpool.export_without_output_shape   s   {$$$<EQF % 
 
 X!Q!Q()*"*===X!Q"b*+,BH===H||\\\<<<FGH*
 
 
 	8C=		
 	
 	
 	
 	
 	
    c                     t           j                            dg ddgddgddg          } t          j        ddgdd	ggggt          j        
          }t          j        ddgddggggt          j        
          }t          j        dt          j        
          }t          j        g dg dg dg dg dgggt          j        
          }t          | |||g|gd           d S )Nr   )r	   r
   output_shaper   r   r   r      r      r   r   r   )r   r   r   r   )r   r   r   r   r   )r   r   r   r,   r   )r   r   r   r-   r   'test_maxunpool_export_with_output_shaper   r   )r&   r	   r
   r+   r   s        r'   export_with_output_shapez"MaxUnpool.export_with_output_shape#   s0   {$$///EQF % 
 
 X!Q!Q()*"*===X!Q"b*+,BH===xBH===H (''''
 *
 
 
 	L)C:		
 	
 	
 	
 	
 	
r)   )r   N)__name__
__module____qualname__staticmethodr(   r/    r)   r'   r   r      sR        
 
 
 \
* 
 
 
 \
 
 
r)   r   )numpyr"   r   onnx.backend.test.case.baser   onnx.backend.test.case.noder   r   r4   r)   r'   <module>r8      st   
      , , , , , , . . . . . .6
 6
 6
 6
 6
 6
 6
 6
 6
 6
r)   