Contents

softPlus

Creates an instance of a parametric soft plus activation layer.

Declaration

class var softPlus: MLCActivationLayer { get }

Discussion

This factory creates an activation descriptor using init(type:a:b:), where type = MLCActivationType.softPlus, a = 1.0, and b = 1.0, and passes that descriptor to init(descriptor:).

See Also

Factory Properties