public abstract class BaseActivationFunction extends java.lang.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(java.lang.Object o) |
java.lang.String |
toString()
The type()
|
java.lang.String |
type()
Name of the function
|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
applyDerivative, transformClazz
public java.lang.String type()
type
in interface ActivationFunction
public boolean equals(java.lang.Object o)
public java.lang.String toString()
toString
in class java.lang.Object
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))
.
Copyright © 2014. All Rights Reserved.