public abstract class BaseActivationFunction extends Object implements ActivationFunction
Constructor and Description |
---|
BaseActivationFunction() |
Modifier and Type | Method and Description |
---|---|
INDArray |
apply(INDArray input)
Returns the result of applying this function to
input . |
boolean |
equals(Object o) |
String |
toString()
The type()
|
String |
type()
Name of the function
|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
applyDerivative, transformFactory
public String type()
type
in interface ActivationFunction
public boolean equals(Object o)
public INDArray apply(INDArray input)
input
. This method is generally
expected, but not absolutely required, to have the following properties:
Objects.equal
(a, b)
implies that Objects.equal(function.apply(a),
function.apply(b))
.
apply
in interface com.google.common.base.Function<INDArray,INDArray>
input
- NullPointerException
- if input
is null and this function does not accept null
argumentsCopyright © 2014. All Rights Reserved.