
    Sio                    f    S SK Jr  S SKrS SKJr   " S S\5      r " S S\5      r " S S	\5      rg)
    )annotationsN)OpRunReduceNumpyc                      \ rS rSrSS jrSrg)ReduceMin_1   Nc                    Ub  [        U5      OS nUR                  S:X  a  [        R                  " UR                  [        R
                  5      (       a*  [        R                  " UR                  5      R                  O[        R                  nU R                  XX#5      $ [        R                  R                  XUS:H  S9nUS:X  a5  [        U[        R                  5      (       d  [        R                  " U5      nU4$ )Nr      axiskeepdims)tuplesizenp
issubdtypedtypeintegeriinfomaxinfreduce_constantminimumreduce
isinstancendarrayarray)selfdataaxesr   maxvalueress         _/var/www/html/ai-image-ml/venv/lib/python3.13/site-packages/onnx/reference/ops/op_reduce_min.py_runReduceMin_1._run   s    ".uT{D99> ==RZZ88 $((VV 
 ''GGjj(a-Hq=C!<!<((3-Cv     )NN__name__
__module____qualname____firstlineno__r"   __static_attributes__r%   r$   r!   r   r      s    r$   r   c                      \ rS rSrSrg)ReduceMin_11   r%   N)r'   r(   r)   r*   r+   r%   r$   r!   r-   r-      s    r$   r-   c                  "    \ rS rSrSSS jjrSrg)ReduceMin_18!   Nc                   U R                  X$5      nUS:g  nUR                  S:X  a  [        R                  " UR                  [        R
                  5      (       a*  [        R                  " UR                  5      R                  O[        R                  nU R                  XX#5      $ [        R                  R                  XUS9nUS:X  a5  [        U[        R                  5      (       d  [        R                  " U5      nU4$ )Nr   r
   )handle_axesr   r   r   r   r   r   r   r   r   r   r   r   r   r   )r   r   r   r   noop_with_empty_axesr   r    s          r!   r"   ReduceMin_18._run"   s    ;q=99> ==RZZ88 $((VV 
 ''GGjj(Cq=C!<!<((3-Cvr$   r%   )Nr	   r   )r   intr4   r6   r&   r%   r$   r!   r0   r0   !   s     r$   r0   )	
__future__r   numpyr   onnx.reference.ops._opr   r   r-   r0   r%   r$   r!   <module>r:      s6    #  3" $	; 	# r$   