public class IAMax extends BaseAccumulation
currentComplexResult, initial, initialComplex, otherAccum, otherAccumComplex
extraArgs, n, numProcessed, passThrough, x, y, z
Constructor and Description |
---|
IAMax() |
IAMax(INDArray x) |
IAMax(INDArray x,
INDArray y) |
IAMax(INDArray x,
INDArray y,
int n) |
Modifier and Type | Method and Description |
---|---|
Number |
currentResult()
Current result
|
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,
int n)
Initialize the operation based on the parameters
|
String |
name()
The name of this operation
|
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
|
void |
update(IComplexNumber result)
Update the current result to be this result
|
void |
update(Number result)
Update the current result to be this result
|
currentResultComplex, numProcessed, op, op, op, op, op, op, op, op, otherAccum, otherAccumComplex, setCurrentResult, setCurrentResultComplex, zero, zeroComplex
ensureProperVectors, extraArgs, isPassThrough, n, setX, setY, setZ, toString, x, y, z
public IAMax()
public IAMax(INDArray x)
public void update(Number result)
Accumulation
result
- the resultpublic void update(IComplexNumber result)
Accumulation
result
- the resultpublic String name()
Op
public void init(INDArray x, INDArray y, INDArray z, int n)
Op
init
in interface Op
init
in class BaseAccumulation
x
- the inputy
- the pairwise transform ndarrayz
- the resulting ndarrayn
- the number of elementspublic void exec(int... dimensions)
Op
public Op opForDimension(int index, int dimension)
Op
index
- the index of the op to iterate overdimension
- the dimension to ge the input forpublic void exec()
Op
public Number currentResult()
Accumulation
currentResult
in interface Accumulation
currentResult
in class BaseAccumulation
public Op opForDimension(int index, int... dimension)
Op
index
- the index of the op to iterate overdimension
- the dimension to ge the input forCopyright © 2015. All Rights Reserved.