public interface Op
| 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
|
Object[] |
extraArgs()
Extra arguments
|
void |
init(INDArray x,
INDArray y,
INDArray z,
int n)
Initialize the operation based on the parameters
|
boolean |
isPassThrough()
Returns whether the op should be executed or not (through the executioner)
|
int |
n()
The number of elements to do a op over
|
String |
name()
The name of this operation
|
int |
numProcessed()
Number processed
|
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
|
void |
setN(int n)
Change n
|
void |
setX(INDArray x)
set x (the input ndarray)
|
void |
setY(INDArray y)
set y(the pairwise ndarray)
|
void |
setZ(INDArray z)
set z (the solution ndarray)
|
INDArray |
x()
The origin ndarray
|
INDArray |
y()
The pairwise op ndarray
|
INDArray |
z()
The resulting ndarray
|
String name()
INDArray x()
INDArray y()
INDArray z()
int n()
IComplexNumber op(IComplexNumber origin, double other)
origin - the origin numberother - the other numberIComplexNumber op(IComplexNumber origin, float other)
origin - the origin numberother - the other numberIComplexNumber op(IComplexNumber origin, IComplexNumber other)
origin - the origin numberother - the other numberfloat op(float origin,
float other)
origin - the origin numberother - the other numberdouble op(double origin,
double other)
origin - the origin numberother - the other numberdouble op(double origin)
origin - the origin elementfloat op(float origin)
origin - the origin elementIComplexNumber op(IComplexNumber origin)
origin - the origin elementOp opForDimension(int index, int dimension)
index - the index of the op to iterate overdimension - the dimension to ge the input forOp opForDimension(int index, int... dimension)
index - the index of the op to iterate overdimension - the dimension to ge the input forvoid init(INDArray x, INDArray y, INDArray z, int n)
x - the inputy - the pairwise transform ndarrayz - the resulting ndarrayn - the number of elementsint numProcessed()
Object[] extraArgs()
void setX(INDArray x)
x - void setZ(INDArray z)
z - void setY(INDArray y)
y - boolean isPassThrough()
void exec()
void exec(int... dimensions)
dimensions - the dimensions to execute onvoid setN(int n)
n - Copyright © 2016. All Rights Reserved.