celu(a:)
Creates an instance of a CELU activation layer using the alpha value you specify for the CELU formation.
Declaration
class func celu(a: Float) -> SelfParameters
- a:
The alpha value for the CELU formation.
Return Value
A new MLCActivationLayer instance.
Discussion
The celu(a:) factory type method creates an activation descriptor using init(type:a:), where type = MLCActivationType.celu and a = alpha, and passes that descriptor to init(descriptor:).