An activation function that multiplies the negative side of the Tanh function by a coefficient aa (0<a<10 < a < 1, not learned).

Keeping the negative outputs small gives it properties similar to Leaky ReLU. The original paper (Xu et al., 2016) uses a=0.25a = 0.25 in its experiments. However, it saturates for inputs with large absolute values, so the vanishing gradient problem remains.

pTanh(x)={tanh⁡(x),x≥0a⋅tanh⁡(x),x<0\text{pTanh}(x) = \begin{cases} \tanh(x), & x \geq 0 \\ a \cdot \tanh(x), & x < 0 \end{cases}

Its output range is:

−a<pTanh(x)<1(0<a<1)-a < \text{pTanh}(x) < 1 \quad (0 < a < 1)