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