public class CustomActivation
extends org.nd4j.linalg.activations.BaseActivationFunction
implements org.nd4j.linalg.activations.IActivation
Constructor and Description |
---|
CustomActivation() |
Modifier and Type | Method and Description |
---|---|
org.apache.commons.math3.util.Pair<org.nd4j.linalg.api.ndarray.INDArray,org.nd4j.linalg.api.ndarray.INDArray> |
backprop(org.nd4j.linalg.api.ndarray.INDArray in,
org.nd4j.linalg.api.ndarray.INDArray epsilon) |
org.nd4j.linalg.api.ndarray.INDArray |
getActivation(org.nd4j.linalg.api.ndarray.INDArray in,
boolean training) |
getGradientViewArray, getParametersViewArray, numParams, setGradientViewArray, setParametersViewArray
public org.nd4j.linalg.api.ndarray.INDArray getActivation(org.nd4j.linalg.api.ndarray.INDArray in, boolean training)
getActivation
in interface org.nd4j.linalg.activations.IActivation
public org.apache.commons.math3.util.Pair<org.nd4j.linalg.api.ndarray.INDArray,org.nd4j.linalg.api.ndarray.INDArray> backprop(org.nd4j.linalg.api.ndarray.INDArray in, org.nd4j.linalg.api.ndarray.INDArray epsilon)
backprop
in interface org.nd4j.linalg.activations.IActivation