
    hR                     B    S SK rS SKrS SKJr  S SKJr   " S S\5      rg)    N)Base)expectc                   <    \ rS rSr\SS j5       r\SS j5       rSrg)ConvInteger   Nc                  0   [         R                  " / SQ5      R                  [         R                  5      R	                  S5      n [         R                  " S5      n[         R                  " / SQ5      R                  [         R                  5      R	                  S5      n[         R                  " / SQ5      R                  [         R
                  5      R	                  SSSS5      n[        R                  R                  S/ S	QS
/S9n[        UXU/U/SS9  g )N	                     	   
      r   r   r   r   r   r   r   r   r   r   r
   r
   )r            r
   r   xwx_zero_pointy)inputsoutputs test_convinteger_without_paddingr   r    name
nparrayastypeuint8reshapeint32onnxhelper	make_noder   )r   r   r   r   convinteger_nodes        a/var/www/fran/franai/venv/lib/python3.13/site-packages/onnx/backend/test/case/node/convinteger.pyexport_without_padding"ConvInteger.export_without_padding   s     HH12VBHHW\" 	

 xx{HH\"))"((3;;LIHH%&--bhh7??1aK  ;;00"<se 1 
 	,'C3		
    c                  0   [         R                  " / SQ5      R                  [         R                  5      R	                  S5      n [         R                  " S5      n[         R                  " / SQ5      R                  [         R                  5      R	                  S5      n[         R                  " / SQ5      R                  [         R
                  5      R	                  S5      n[        R                  R                  S/ S	QS
// SQS9n[        UXU/U/SS9  g )Nr	   r   r   r   r   )r   r   r   r   r   r   r   r      r   r      r   r5      r   )r   r   r   r   r   r   r   )r   r    padstest_convinteger_with_paddingr"   r$   )r   r   r   r   convinteger_node_with_paddings        r/   export_with_paddingConvInteger.export_with_padding%   s     HH12VBHHW\" 	

 xx{HH\"))"((3;;LI HHMNVBHHW\" 	
 )-(=(=-E	 )> )
% 	),'C0		
r2    )returnN)__name__
__module____qualname____firstlineno__staticmethodr0   r:   __static_attributes__r<   r2   r/   r   r      s(    
 
. 
 
r2   r   )numpyr%   r+   onnx.backend.test.case.baser   onnx.backend.test.case.noder   r   r<   r2   r/   <module>rG      s   
   , .6
$ 6
r2   