public class Pooling2D extends BaseTransformOp
Modifier and Type | Class and Description |
---|---|
static class |
Pooling2D.Pooling2DType |
Modifier and Type | Field and Description |
---|---|
protected DataBuffer |
im2colShape |
extraArgs, extraArgz, n, numProcessed, passThrough, x, y, z
Constructor and Description |
---|
Pooling2D() |
Pooling2D(INDArray x,
int kh,
int kw,
int sy,
int sx,
int ph,
int pw,
boolean isSameMode,
Pooling2D.Pooling2DType type,
double extra,
int virtualHeight,
int virtualWidth,
INDArray z) |
Modifier and Type | Method and Description |
---|---|
Object[] |
extraArgs()
Extra arguments
|
boolean |
isExecSpecial()
Whether the executioner
needs to do a special call or not
|
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
|
derivative
exec, exec, extraArgsBuff, extraArgsDataBuff, getOpType, init, isPassThrough, n, numProcessed, setN, setX, setY, setZ, toString, x, y, z
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
exec, exec, extraArgsBuff, extraArgsDataBuff, init, isPassThrough, n, numProcessed, setExtraArgs, setN, setX, setY, setZ, x, y, z
protected DataBuffer im2colShape
public Pooling2D()
public Pooling2D(INDArray x, int kh, int kw, int sy, int sx, int ph, int pw, boolean isSameMode, Pooling2D.Pooling2DType type, double extra, int virtualHeight, int virtualWidth, INDArray z)
public boolean isExecSpecial()
Op
isExecSpecial
in interface Op
isExecSpecial
in class BaseOp
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 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 © 2017. All rights reserved.