
    bIgl                    :    d dl mZ d dlZd dlmZ  G d de      Zy)    )annotationsN)OpRunc                      e Zd Zd Zy)Wherec                   |j                   |j                   k7  r|j                   t        fvrq|j                   j                  t        j                  urK|j                   j                  t        j                  ur%t        d|j                    d|j                          t        j                  |||      j                  |j                         fS )Nz$x and y should share the same dtype z != )dtypeobjecttypenpstr_RuntimeErrorwhereastype)self	conditionxys       X/var/www/html/answerous/venv/lib/python3.12/site-packages/onnx/reference/ops/op_where.py_runz
Where._run   s    GGqwwy(BGG+BGG+6qwwitAGG9M  Aq)009;;    N)__name__
__module____qualname__r    r   r   r   r      s    
<r   r   )
__future__r   numpyr   onnx.reference.op_runr   r   r   r   r   <module>r      s    #  '<E <r   