Contents

rectifiedLinear

An activation function that returns its input when that is greater than or equal to zero, otherwise it returns zero.

Declaration

static var rectifiedLinear: BNNSActivationFunction { get }

Discussion

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

0 if x<0, and x if x>=0

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

[Image]

See Also

Activation Functions