Contents

BNNS.ActivationFunction.tanhShrink

An activation function that returns its input minus the hyperbolic tangent of its input.

Declaration

case tanhShrink

Discussion

This constant defines an activation function that returns values using the following operation:

x − tanh(x)

The following illustrates the output that the activation function generates from inputs in the range -10...10:

[Image]

See Also

Activation Functions