ReLUOperator

public class ReLUOperator: ActivationOperator

Rectified Linear Unit, y=max(x,alpha=0.0)

  • hyperparameter, default is 0.0

    Declaration

    Swift

    public var alpha: Float = 0.0