
    bIg                    N    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	y)    )annotationsN)Base)expectc                  0    e Zd Zedd       Zedd       Zy)	MaxUnpoolc                    t         j                  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       y )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       b/var/www/html/answerous/venv/lib/python3.12/site-packages/onnx/backend/test/case/node/maxunpool.pyexport_without_output_shapez%MaxUnpool.export_without_output_shape   s    {{$$$<EQF % 
 XX!Q!Q()*"**=XX!Q"b*+,BHH=HH\<FGH**
 	8C=		
    c                    t         j                  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       y )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$   s    {{$$/EQF % 
 XX!Q!Q()*"**=XX!Q"b*+,BHH=xxBHH=HH (''''
 **
 	L)C:		
r)   N)returnNone)__name__
__module____qualname__staticmethodr(   r/    r)   r'   r   r      s(    
 
* 
 
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
r)   