MLCActivationDescriptor
A configuration object you use to create an activation layer.
Declaration
class MLCActivationDescriptorOverview
The framework provides the following activation descriptor initializers to create the associated descriptors:
- init(type:)
Absolute, GELU, Identity, LogSigmoid, Parametric Soft Sign, SELU, Sigmoid, TanhShrink
- init(type:a:)
CELU, HardShrink, Parametric ELU, ReLU, SoftShrink
- init(type:a:b:)
Hard Sigmoid, Hyperbolic tangent (TanH), Linear, Parametric Soft Plus, ReLUN, Threshold