
    bIg                    :    d dl mZ d dlZd dlmZ  G d de      Zy)    )annotationsN)OpRunUnaryNumc                      e Zd ZddZy)HardSigmoidNc                    |xs | j                   }|xs | j                  }t        j                  dt        j                  d||z  |z               }|fS )Nr      )alphabetanpmaximumminimum)selfxr	   r
   ys        _/var/www/html/answerous/venv/lib/python3.12/site-packages/onnx/reference/ops/op_hard_sigmoid.py_runzHardSigmoid._run   sI    # tyyJJq"**QE	D(89:t    )NN)__name__
__module____qualname__r    r   r   r   r      s    r   r   )
__future__r   numpyr   onnx.reference.ops._opr   r   r   r   r   <module>r      s    #  0- r   