public abstract class BaseVectorOp extends BaseOp implements VectorOp
Modifier and Type | Field and Description |
---|---|
protected int |
dimension |
extraArgs, n, numProcessed, passThrough, x, y, z
Constructor and Description |
---|
BaseVectorOp(INDArray x,
INDArray y,
INDArray z,
int dimension) |
Modifier and Type | Method and Description |
---|---|
int |
getDimension()
Dimension to do the vector op along.
|
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 |
setDimension(int dimension)
Set the dimension for the vector op.
|
ensureProperVectors, exec, exec, extraArgs, init, isPassThrough, n, numProcessed, setX, setY, setZ, toString, x, y, z
public int getDimension()
VectorOp
getDimension
in interface VectorOp
public void setDimension(int dimension)
VectorOp
setDimension
in interface VectorOp
public Op opForDimension(int index, int dimension)
Op
opForDimension
in interface Op
index
- the index of the op to iterate overdimension
- the dimension to ge the input forpublic Op opForDimension(int index, int... dimension)
Op
opForDimension
in interface Op
index
- the index of the op to iterate overdimension
- the dimension to ge the input forCopyright © 2015. All Rights Reserved.