public class SoftMaxDerivative extends SoftMax
extraArgs, n, numProcessed, passThrough, x, y, z
Constructor and Description |
---|
SoftMaxDerivative() |
SoftMaxDerivative(INDArray x) |
SoftMaxDerivative(INDArray x,
INDArray z) |
SoftMaxDerivative(INDArray x,
INDArray y,
INDArray z,
long n) |
SoftMaxDerivative(INDArray x,
INDArray z,
long n) |
Modifier and Type | Method and Description |
---|---|
void |
exec(int... dimensions)
Exec along each dimension
|
boolean |
isExecSpecial()
Whether the executioner
needs to do a special call or not
|
String |
name()
The name of this operation
|
double |
op(double origin)
Transform an individual element
|
double |
op(double origin,
double other)
Pairwise op (applicable with an individual element in y)
|
float |
op(float origin)
Transform an individual element
|
float |
op(float origin,
float other)
Pairwise op (applicable with an individual element in y)
|
IComplexNumber |
op(IComplexNumber origin)
Transform an individual element
|
IComplexNumber |
op(IComplexNumber origin,
double other)
Pairwise op (applicable with an individual element in y)
|
IComplexNumber |
op(IComplexNumber origin,
float other)
Pairwise op (applicable with an individual element in y)
|
IComplexNumber |
op(IComplexNumber origin,
IComplexNumber other)
Pairwise op (applicable with an individual element in y)
|
Op |
opForDimension(int index,
int dimension)
A copy of this operation for a particular dimension of the input
|
int |
opNum()
An op number
|
derivative, exec, init, opForDimension
extraArgs, extraArgsBuff, extraArgsDataBuff, getOpType, isPassThrough, n, numProcessed, setN, setX, setY, setZ, toString, x, y, z
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
extraArgs, extraArgsBuff, extraArgsDataBuff, isPassThrough, n, numProcessed, setN, setX, setY, setZ, x, y, z
public SoftMaxDerivative(INDArray x)
public SoftMaxDerivative()
public boolean isExecSpecial()
Op
isExecSpecial
in interface Op
isExecSpecial
in class SoftMax
public int opNum()
Op
public IComplexNumber op(IComplexNumber origin, double other)
Op
public IComplexNumber op(IComplexNumber origin, float other)
Op
public IComplexNumber op(IComplexNumber origin, IComplexNumber other)
Op
public float op(float origin, float other)
Op
public double op(double origin, double other)
Op
public double op(double origin)
Op
public float op(float origin)
Op
public IComplexNumber op(IComplexNumber origin)
Op
public Op opForDimension(int index, int dimension)
Op
opForDimension
in interface Op
opForDimension
in class SoftMax
index
- the index of the op to iterate overdimension
- the dimension to ge the input forCopyright © 2016. All Rights Reserved.