o
    to™i§  ã                   @  sn   d dl mZ d dlmZ d dlmZ d dlmZ ddd„ZG d	d
„ d
eƒZ	G dd„ deƒZ
G dd„ deƒZdS )é    )Úannotations)Únp_dtype_to_tensor_dtype)ÚOpRun)Úcast_toÚsaturateÚboolc                 C  s   t | t|jƒ|ƒfS ©N)r   r   Údtype)ÚxÚyr   © r   úS/home/ubuntu/.local/lib/python3.10/site-packages/onnx/reference/ops/op_cast_like.pyÚ
_cast_like   s   r   c                   @  s   e Zd Zdd„ ZdS )ÚCastLike_15c                 C  s   t ||dƒS )NT©r   )Úselfr
   r   r   r   r   Ú_run   ó   zCastLike_15._runN©Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r      s    r   c                   @  ó   e Zd Zddd„ZdS )ÚCastLike_19Fc                 C  ó   t |||ƒS r   r   ©r   r
   r   r   r   r   r   r      r   zCastLike_19._runN©Fr   r   r   r   r   r      ó    r   c                   @  r   )ÚCastLike_25Fc                 C  r   r   r   r   r   r   r   r      r   zCastLike_25._runNr   r   r   r   r   r   r      r   r   N)r   r   )Ú
__future__r   Úonnx.helperr   Úonnx.reference.op_runr   Úonnx.reference.ops.op_castr   r   r   r   r   r   r   r   r   Ú<module>   s   
