
    /j                    V    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e          Z	dS )    )annotationsN)Base)expectc                  >    e Zd Zedd            Zedd            ZdS )	MaxUnpoolreturnNonec                    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       j/home/longshao/multi-rider-rag/.venv/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+   N)r   r	   )__name__
__module____qualname__staticmethodr*   r1    r+   r)   r   r      sR        
 
 
 \
* 
 
 
 \
 
 
r+   r   )

__future__r   numpyr$   r!   onnx.backend.test.case.baser   onnx.backend.test.case.noder   r   r6   r+   r)   <module>r;      s    # " " " " "      , , , , , , . . . . . .6
 6
 6
 6
 6
 6
 6
 6
 6
 6
r+   