
    Si
                    N    S SK Jr  S SKrS SKrS SKJr  S SKJr   " S S\5      r	g)    )annotationsN)Base)expectc                  <    \ rS rSr\SS j5       r\SS j5       rSrg)ConvInteger   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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   )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        f/var/www/html/ai-image-ml/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                 z   [         R                  " / SQ5      R                  [         R                  5      R	                  S5      n [         R                  " S5      n[         R                  " SS/[         R                  S9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X/U/SS9  g )Nr
   r   r   r   )dtype)r   r   r   r   r   r   r   r   )r   r   r   r   ) r   r   r   r   r   r   r   r      r   r      r   r6      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   w_zero_pointsr   r   )r   r    padstest_convinteger_with_paddingr"   r$   )r   r   r8   r   r   convinteger_node_with_paddings         r/   export_with_paddingConvInteger.export_with_padding&   s     HH12VBHHW\" 	

 xx{!Qrxx8HH-.55bhh?GGU HH!#H VBHHW\"M 	
T )-(=(=>E	 )> )
% 	),6C0		
r2    N)returnNone)__name__
__module____qualname____firstlineno__staticmethodr0   r<   __static_attributes__r>   r2   r/   r   r      s*    
 
. @
 @
r2   r   )

__future__r   numpyr%   r+   onnx.backend.test.case.baser   onnx.backend.test.case.noder   r   r>   r2   r/   <module>rK      s$    #   , .Z
$ Z
r2   