public abstract class BaseBroadcastOp extends BaseOp implements BroadcastOp
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
dimension |
extraArgs, n, numProcessed, passThrough, x, y, z| Constructor and Description |
|---|
BaseBroadcastOp(INDArray x,
INDArray y,
INDArray z,
int... dimension) |
| Modifier and Type | Method and Description |
|---|---|
int |
broadcastLength()
The length of the number of elements
in the broadcast
|
int[] |
broadcastShape()
The shape of the
element to be broadcast
|
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.
|
exec, exec, extraArgs, extraArgsBuff, extraArgsDataBuff, init, isExecSpecial, isPassThrough, n, numProcessed, setN, setX, setY, setZ, toString, x, y, zpublic int broadcastLength()
BroadcastOpbroadcastLength in interface BroadcastOppublic int[] broadcastShape()
BroadcastOpbroadcastShape in interface BroadcastOppublic int[] getDimension()
BroadcastOpgetDimension in interface BroadcastOppublic void setDimension(int... dimension)
BroadcastOpsetDimension in interface BroadcastOppublic Op opForDimension(int index, int dimension)
OpopForDimension in interface Opindex - the index of the op to iterate overdimension - the dimension to ge the input forpublic Op opForDimension(int index, int... dimension)
OpopForDimension in interface Opindex - the index of the op to iterate overdimension - the dimension to ge the input forCopyright © 2016. All Rights Reserved.