
    Si\                    Z    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KJ	r	   " S S\5      r
g)    )annotationsN)helper)Base)expectc                  (    \ rS rSr\SS j5       rSrg)Upsample   c            
        [         R                  R                  SSS/S/SS9n [        R                  " SS/S	S
////[        R
                  S9n[        R                  " / SQ[        R
                  S9n[        R                  " / SQ/ SQ/ SQ/ SQ///[        R
                  S9n[        U X/U/S[        R                  " SS5      /S9  g )Nr   XscalesYnearest)inputsoutputsmode            )dtype)      ?r   g       @g      @)r   r   r   r   r   r   )r   r   r   r   r   r   test_upsample_nearest 	   )r   r   nameopset_imports)onnxr   	make_nodenparrayfloat32r   make_opsetid)nodedatar   outputs       c/var/www/html/ai-image-ml/venv/lib/python3.13/site-packages/onnx/backend/test/case/node/upsample.pyexport_nearestUpsample.export_nearest   s    {{$$?E	 % 
 xx AA **

 .bjjA +***		 **
 	>H(!..r156	
     N)returnNone)__name__
__module____qualname____firstlineno__staticmethodr'   __static_attributes__r*   r)   r&   r   r      s    *
 *
r)   r   )
__future__r   numpyr   r   r   onnx.backend.test.case.baser   onnx.backend.test.case.noder   r   r*   r)   r&   <module>r7      s%    #    , .,
t ,
r)   