| Constructor and Description |
|---|
PoolingLayer(int filterSize,
int padSize,
int strideSize)
Constructs a pooling layer with parameters having identical width and height, a default MaxPoolNeuron, and a default MaxPoolLink.
|
PoolingLayer(int filterWidth,
int filterHeight,
int padWidth,
int padHeight,
int strideWidth,
int strideHeight,
Neuron neuron,
Link link)
Constructs a general pooling layer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addMap(PoolingMap map)
Adds a pooling map to this layer.
|
boolean |
connect(Layer layer)
Connects this layer with the given layer.
|
java.lang.String |
toString()
Returns the width x height x depth of this layer.
|
addMap, addMap, disconnect, fromXML, getDepth, getHeight, getLevel, getLinkCount, getMapCount, getMaps, getNeuron, getNeurons, getSize, getWidth, removeMap, setIOType, setLevel, toXMLpublic PoolingLayer(int filterSize,
int padSize,
int strideSize)
filterSize - the width and height of the poolpadSize - the width and height of the padstrideSize - the width and height of the stridepublic PoolingLayer(int filterWidth,
int filterHeight,
int padWidth,
int padHeight,
int strideWidth,
int strideHeight,
Neuron neuron,
Link link)
filterWidth - the width of the poolfilterHeight - the height of the poolpadWidth - the width of the padpadHeight - the height of the padstrideWidth - the width of the stridestrideHeight - the height of the strideneuron - the neuron type (if null, default MaxPoolNeuron)link - the link type (if null, default MaxPoolLink)public void addMap(PoolingMap map)
map - a pooling mappublic boolean connect(Layer layer)