public class IMax extends BaseIndexAccumulation
finalResult
extraArgs, n, numProcessed, passThrough, x, y, z
Constructor and Description |
---|
IMax() |
IMax(INDArray x) |
IMax(INDArray x,
INDArray y) |
IMax(INDArray x,
INDArray y,
long n) |
Modifier and Type | Method and Description |
---|---|
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
|
int |
update(double accum,
int accumIdx,
double x,
double y,
int idx)
Do one accumulation update for a pair-wise (2 input) index accumulation
|
int |
update(double accum,
int accumIdx,
double x,
int xIdx)
Do one accumulation update.
|
int |
update(float accum,
int accumIdx,
float x,
float y,
int idx) |
int |
update(float accum,
int accumIdx,
float x,
int xIdx) |
int |
update(IComplexNumber accum,
int accumIdx,
double x,
double y,
int idx)
Accumulation update for pairswise (2 input) complex numbers.
|
int |
update(IComplexNumber accum,
int accumIdx,
double x,
int idx)
Accumulation update for complex numbers.
|
int |
update(IComplexNumber accum,
int accumIdx,
IComplexNumber x,
IComplexNumber y,
int idx)
Accumulation update for pairswise (2 input) complex numbers.
|
int |
update(IComplexNumber accum,
int accumIdx,
IComplexNumber x,
int xIdx)
Accumulation update for complex numbers.
|
IComplexNumber |
zeroComplex()
Complex initial value
|
double |
zeroDouble()
Initial value for the index accumulation
|
float |
zeroFloat()
Initial value for the index accumulation.
|
combineSubResults, combineSubResults, combineSubResults, getFinalResult, init, setFinalResult, zeroPair
exec, exec, extraArgs, extraArgsBuff, extraArgsDataBuff, getOpType, isExecSpecial, isPassThrough, n, numProcessed, setN, setX, setY, setZ, toString, x, y, z
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
exec, exec, extraArgs, extraArgsBuff, extraArgsDataBuff, isExecSpecial, isPassThrough, n, numProcessed, setN, setX, setY, setZ, x, y, z
public IMax()
public IMax(INDArray x)
public int update(double accum, int accumIdx, double x, int xIdx)
IndexAccumulation
accum
- The value at the accumulation indexaccumIdx
- The accumulation indexx
- A value to be processed/accumulatedxIdx
- The index of the value to be processed/accumulatedpublic int update(float accum, int accumIdx, float x, int xIdx)
public int update(double accum, int accumIdx, double x, double y, int idx)
IndexAccumulation
public int update(float accum, int accumIdx, float x, float y, int idx)
public int update(IComplexNumber accum, int accumIdx, IComplexNumber x, int xIdx)
IndexAccumulation
public int update(IComplexNumber accum, int accumIdx, double x, int idx)
IndexAccumulation
public int update(IComplexNumber accum, int accumIdx, double x, double y, int idx)
IndexAccumulation
public int update(IComplexNumber accum, int accumIdx, IComplexNumber x, IComplexNumber y, int idx)
IndexAccumulation
public int opNum()
Op
public String name()
Op
public IComplexNumber op(IComplexNumber origin, double other)
Op
origin
- the origin numberother
- the other numberpublic IComplexNumber op(IComplexNumber origin, float other)
Op
origin
- the origin numberother
- the other numberpublic IComplexNumber op(IComplexNumber origin, IComplexNumber other)
Op
origin
- the origin numberother
- the other numberpublic float op(float origin, float other)
Op
origin
- the origin numberother
- the other numberpublic double op(double origin, double other)
Op
origin
- the origin numberother
- the other numberpublic double op(double origin)
Op
origin
- the origin elementpublic float op(float origin)
Op
origin
- the origin elementpublic IComplexNumber op(IComplexNumber origin)
Op
origin
- the origin elementpublic float zeroFloat()
IndexAccumulation
zeroFloat
in interface IndexAccumulation
zeroFloat
in class BaseIndexAccumulation
public double zeroDouble()
IndexAccumulation
zeroDouble
in interface IndexAccumulation
zeroDouble
in class BaseIndexAccumulation
public IComplexNumber zeroComplex()
IndexAccumulation
zeroComplex
in interface IndexAccumulation
zeroComplex
in class BaseIndexAccumulation
public Op opForDimension(int index, int dimension)
Op
index
- the index of the op to iterate overdimension
- the dimension to ge the input forpublic Op opForDimension(int index, int... dimension)
Op
index
- the index of the op to iterate overdimension
- the dimension to ge the input forCopyright © 2016. All Rights Reserved.