HardELiSH is a hard approximation of ELiSH that replaces its sigmoid function with the hard sigmoid max⁡(0,min⁡(1,x+12))\max(0, \min(1, \frac{x+1}{2})): an activation function that achieves a similar effect at a lower computational cost.

HardELiSH(x)={x⋅max⁡(0, min⁡(1, x+12)),x≥0(ex−1)⋅max⁡(0, min⁡(1, x+12)),x<0\text{HardELiSH}(x) = \begin{cases} x \cdot \max\left(0,\ \min\left(1,\ \dfrac{x + 1}{2}\right)\right), & x \geq 0 \\ \left(e^x - 1\right) \cdot \max\left(0,\ \min\left(1,\ \dfrac{x + 1}{2}\right)\right), & x < 0 \end{cases}

The output range is

HardELiSH(−0.443)≈−0.0997≦HardELiSH(x)<∞\text{HardELiSH}(-0.443) \approx -0.0997 ≦ \text{HardELiSH}(x) < ∞