Contents

sigmoid

An activation function that returns the sigmoid function of its input.

Declaration

static var sigmoid: BNNSActivationFunction { get }

Mentioned in

Discussion

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

1.0 / (1.0 + exp(-x))

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

[Image]

See Also

Activation Functions