public class HardTanh extends BaseActivationFunction
Constructor and Description |
---|
HardTanh() |
Modifier and Type | Method and Description |
---|---|
INDArray |
applyDerivative(INDArray input)
Applies the derivative of this function
|
ElementWiseOpFactory |
transformFactory()
The class used for transformation
|
String |
type()
Name of the function
|
apply, equals, toString
public ElementWiseOpFactory transformFactory()
public String type()
type
in interface ActivationFunction
type
in class BaseActivationFunction
public INDArray applyDerivative(INDArray input)
ActivationFunction
input
- the input to apply it toCopyright © 2014. All Rights Reserved.