.. _elish: Elish ===== .. automodule:: activations_plus.ELiSH :members: forward, __init__ **Reference Paper**: `ELiSH Activation Function `_ **Mathematical Explanation**: The ELiSH activation function is defined as: .. math:: f(x) = \begin{cases} x \cdot \frac{e^x - 1}{e^x + 1}, & x \geq 0 \\ \frac{e^x - 1}{e^x + 1}, & x < 0 \end{cases} **Example Usage**: .. code-block:: python import torch from activations_plus.elish import ELiSH activation = ELiSH() x = torch.tensor([-3.0, 0.0, 3.0]) y = activation(x) print("ELiSH Output:", y)