§
    3�Åjh  ã                  óB   — d dl mZ d dlZd dlmZ  G d„ de¦  «        ZdS )é    )ÚannotationsN)ÚOpRunc                  ó   — e Zd Zdd„ZdS )ÚSwiGLUNc                ó|  — |j         |j         k    r t          d|j         › d|j         › d�¦  «        ‚|j        |j        k    r t          d|j        › d|j        › d�¦  «        ‚|€dn|}|ddt          j        | |z  ¦  «        z   z                       |j        ¦  «        z  }||z                       |j        ¦  «        fS )NzgSwiGLU requires inputs A and B to have identical shapes (broadcasting is not applied), but got A.shape=z and B.shape=ú.zISwiGLU requires inputs A and B to have identical dtypes, but got A.dtype=z and B.dtype=g      ð?é   )ÚshapeÚ
ValueErrorÚdtypeÚnpÚexpÚastype)ÚselfÚaÚbÚalphaÚswish_as        úMC:\Projects\Historical\venv\Lib\site-packages\onnx/reference/ops/op_swiglu.pyÚ_runzSwiGLU._run   s   € ð Œ7�a”gÒÐÝð&ØBCÄ'ð&ð &àœ7ð&ð &ð &ñô ð ð
 Œ7�a”gÒÐÝð@Ø œwð@ð @Ø56´Wð@ð @ð @ñô ð ð �}��¨%ˆð �q˜A¥¤¨ v°¡zÑ 2Ô 2Ñ2Ñ3×;Ò;¸A¼GÑDÔDÑDˆØ˜1‘×$Ò$ Q¤WÑ-Ô-Ð/Ð/ó    )N)Ú__name__Ú
__module__Ú__qualname__r   © r   r   r   r      s(   € € € € € ð0ð 0ð 0ð 0ð 0ð 0r   r   )Ú
__future__r   Únumpyr   Úonnx.reference.op_runr   r   r   r   r   ú<module>r      sk   ðð #Ð "Ð "Ð "Ð "Ð "à Ð Ð Ð à 'Ð 'Ð 'Ð 'Ð 'Ð 'ð0ð 0ð 0ð 0ð 0ˆUñ 0ô 0ð 0ð 0ð 0r   