abs
An activation function that returns the absolute value of its input.
Declaration
static var abs: BNNSActivationFunction { get }Discussion
This constant defines an activation function that returns values using the following operation:
abs(x)The following illustrates the output that the activation function generates from inputs in the range -10...10:
[Image]