Contents

MLCActivationType.tanh

An activation type that implements the hyperbolic tangent activation function.

Declaration

case tanh

Discussion

This activation type implements the function:

f(x) = a * tanh(b * x)

See Also

Enumeration Cases