Tanh

Hyperbolic tangent activation function.

Transforms input 'x' according formula:

tanh(x) = sinh(x)/cosh(x) = ((exp(x) - exp(-x))/(exp(x) + exp(-x)))

Calls TanhActivation under the hood.

Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int