ThresholdedReLUOperator
public class ThresholdedReLUOperator: ELUOperator
Thresholded Rectified Linear Unit.
f(x) = x if x > alpha, else f(x) = 0
Threshold alpha
Default value is 1.0
Reference
Zero-Bias Autoencoders and the Benefits of Co-Adapting Features
-
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()