Contents

relu6

Creates an instance of a ReLU6 activation layer.

Declaration

class var relu6: MLCActivationLayer { get }

Discussion

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

See Also

Factory Properties