public class Norm2 extends BaseAccumulation
currentComplexResult, currentResult, initial, initialComplex, otherAccum, otherAccumComplex
extraArgs, n, numProcessed, passThrough, x, y, z
Constructor and Description |
---|
Norm2() |
Norm2(INDArray x) |
Norm2(INDArray x,
INDArray y) |
Norm2(INDArray x,
INDArray y,
INDArray z,
int n) |
Norm2(INDArray x,
INDArray y,
int n) |
Modifier and Type | Method and Description |
---|---|
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
|
Number |
zero()
Initial value
|
IComplexNumber |
zeroComplex()
Complex initial value
|
currentResult, currentResultComplex, init, numProcessed, op, op, op, op, op, op, op, op, otherAccum, otherAccumComplex, setCurrentResult, setCurrentResultComplex
ensureProperVectors, exec, exec, extraArgs, isPassThrough, n, setX, setY, setZ, toString, x, y, z
public Norm2()
public Norm2(INDArray x)
public void update(Number result)
Accumulation
result
- the resultpublic void update(IComplexNumber result)
Accumulation
result
- the resultpublic Number zero()
Accumulation
zero
in interface Accumulation
zero
in class BaseAccumulation
public IComplexNumber zeroComplex()
Accumulation
zeroComplex
in interface Accumulation
zeroComplex
in class BaseAccumulation
public String name()
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 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.