o
    to™ik  ã                   @  s4   d dl mZ d dlZd dlmZ G dd„ deƒZdS )é    )ÚannotationsN)ÚOpRunUnaryNumc                   @  s   e Zd Zddd„ZdS )ÚEluNc                 C  s4   |p| j }t |dk||t |¡d  ¡ |j¡fS )Nr   é   )ÚalphaÚnpÚwhereÚexpÚastypeÚdtype)ÚselfÚxr   © r   úM/home/ubuntu/.local/lib/python3.10/site-packages/onnx/reference/ops/op_elu.pyÚ_run   s   
*zElu._run)N)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r      s    r   )Ú
__future__r   Únumpyr   Úonnx.reference.ops._opr   r   r   r   r   r   Ú<module>   s   