LeakyReLUOperator
public class LeakyReLUOperator: ELUOperator
LeakyReLU activation operator.
y = alpha * x (x < 0)
y = x (x >= 0)
scale factor alpha
Default value is 0.3
Reference
Rectifier Nonlinearities Improve Neural Network Acoustic Models
-
Convenience initializer Subclass required to override this function to assign
cpuComputeBlock
andmetalKernelFuncLabel
Declaration
Swift
required public convenience init(computationDelegate: OperatorCalculationDelegate? = nil)
Parameters
computationDelegate
computationDelegate
-
Override CPU
Declaration
Swift
internal override func cpu()