BNNSActivationFunctionLogSigmoid
An activation function that returns the logarithm of the sigmoid function of its input.
Declaration
var BNNSActivationFunctionLogSigmoid: BNNSActivationFunction { get }Discussion
This constant defines an activation function that returns values using the following operation:
log(sigmoid(x))The following illustrates the output that the activation function generates from inputs in the range -10...10:
[Image]
See Also
Raw Values
init(_:)init(rawValue:)rawValueBNNSActivationFunctionAbsBNNSActivationFunctionCELUBNNSActivationFunctionClampedLeakyRectifiedLinearBNNSActivationFunctionELUBNNSActivationFunctionErfBNNSActivationFunctionGELUBNNSActivationFunctionGELUApproximationBNNSActivationFunctionGELUApproximation2BNNSActivationFunctionGELUApproximationSigmoidBNNSActivationFunctionGumbelBNNSActivationFunctionGumbelMaxBNNSActivationFunctionHardShrink