public class Tanh extends BaseActivationFunction
Constructor and Description |
---|
Tanh() |
Modifier and Type | Method and Description |
---|---|
INDArray |
applyDerivative(INDArray input)
Applies the derivative of this function
|
Class<? extends ElementWiseOp> |
transformClazz()
The class used for transformation
|
String |
type()
Name of the function
|
apply, equals, toString
public Class<? extends ElementWiseOp> transformClazz()
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.