public class LogSoftMax extends BaseTransformOp
extraArgs, n, numProcessed, passThrough, x, y, z| Constructor and Description |
|---|
LogSoftMax() |
LogSoftMax(INDArray x) |
LogSoftMax(INDArray x,
INDArray z) |
LogSoftMax(INDArray x,
INDArray y,
INDArray z) |
LogSoftMax(INDArray x,
INDArray y,
INDArray z,
long n) |
LogSoftMax(INDArray x,
INDArray z,
long n) |
| Modifier and Type | Method and Description |
|---|---|
void |
exec()
Execute the op if its pass through (not needed most of the time)
|
void |
exec(int... dimensions)
Exec along each dimension
|
void |
init(INDArray x,
INDArray y,
INDArray z,
long n)
Initialize the operation based on the parameters
|
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
|
Op |
opForDimension(int index,
int dimension)
A copy of this operation for a particular dimension of the input
|
int |
opNum()
An op number
|
derivativeextraArgs, extraArgsBuff, extraArgsDataBuff, isPassThrough, n, numProcessed, setN, setX, setY, setZ, toString, x, y, zclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitextraArgs, extraArgsBuff, extraArgsDataBuff, isPassThrough, n, numProcessed, setN, setX, setY, setZ, x, y, zpublic LogSoftMax()
public LogSoftMax(INDArray x)
public int opNum()
Oppublic String name()
Oppublic IComplexNumber op(IComplexNumber origin, double other)
Oporigin - the origin numberother - the other numberpublic IComplexNumber op(IComplexNumber origin, float other)
Oporigin - the origin numberother - the other numberpublic IComplexNumber op(IComplexNumber origin, IComplexNumber other)
Oporigin - the origin numberother - the other numberpublic float op(float origin,
float other)
Oporigin - the origin numberother - the other numberpublic double op(double origin,
double other)
Oporigin - the origin numberother - the other numberpublic double op(double origin)
Oporigin - the origin elementpublic float op(float origin)
Oporigin - the origin elementpublic IComplexNumber op(IComplexNumber origin)
Oporigin - the origin elementpublic Op opForDimension(int index, int dimension)
Opindex - the index of the op to iterate overdimension - the dimension to ge the input forpublic Op opForDimension(int index, int... dimension)
Opindex - the index of the op to iterate overdimension - the dimension to ge the input forpublic void exec()
Oppublic void init(INDArray x, INDArray y, INDArray z, long n)
Oppublic boolean isExecSpecial()
OpisExecSpecial in interface OpisExecSpecial in class BaseOpCopyright © 2016. All Rights Reserved.