An activation function that introduces (non-learnable) parameters into the Tanh function.
LeCun et al. recommend A=1.7159 and B=2/3. With these values, sTanh(Β±1)=Β±1 and the effective slope (gain) near the origin is about 1, so for normalized inputs the output variance also stays close to 1.
sTanh(x)=Aβ
Tanh(Bβ
x)=Aβ
eBx+eβBxeBxβeβBxβ
The output range is
βA<sTanh(x)<A