public class PoolingLayer extends FeatureMapsLayer
FeatureMapsLayer
,
Serialized FormModifier and Type | Field and Description |
---|---|
static NeuronProperties |
DEFAULT_NEURON_PROP
Default neuron properties for pooling layer
|
mapDimensions
Constructor and Description |
---|
PoolingLayer(FeatureMapsLayer fromLayer,
Dimension2D kernelDim)
Creates pooling layer with specified kernel, appropriate map
dimensions in regard to previous layer (fromLayer param) and specified
number of feature maps with default neuron settings for pooling layer.
|
PoolingLayer(FeatureMapsLayer fromLayer,
Dimension2D kernelDim,
int numberOfMaps,
NeuronProperties neuronProp)
Creates pooling layer with specified kernel, appropriate map
dimensions in regard to previous layer (fromLayer param) and specified
number of feature maps with given neuron properties.
|
Modifier and Type | Method and Description |
---|---|
void |
connectMaps(FeatureMapLayer fromMap,
FeatureMapLayer toMap)
Creates connections with shared weights between two feature maps
Assumes that toMap is from Pooling layer.
|
addFeatureMap, createFeatureMaps, getFeatureMap, getFeatureMaps, getMapDimensions, getNeuronAt, getNeuronsCount, getNumberOfMaps
addNeuron, addNeuron, calculate, getLabel, getNeuronAt, getNeurons, getParentNetwork, indexOf, initializeWeights, isEmpty, iterator, removeAllNeurons, removeNeuron, removeNeuronAt, reset, setLabel, setNeuron, setParentNetwork
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public static final NeuronProperties DEFAULT_NEURON_PROP
public PoolingLayer(FeatureMapsLayer fromLayer, Dimension2D kernelDim)
fromLayer
- previous layer, which will be connected to this layerkernel
- kernel for all feature mapspublic PoolingLayer(FeatureMapsLayer fromLayer, Dimension2D kernelDim, int numberOfMaps, NeuronProperties neuronProp)
fromLayer
- previous layer, which will be connected to this layerkernel
- kernel for all feature mapsnumberOfMaps
- number of feature maps to create in this layerneuronProp
- settings for neurons in feature mapspublic void connectMaps(FeatureMapLayer fromMap, FeatureMapLayer toMap)
connectMaps
in class FeatureMapsLayer
fromMap
- source feature maptoMap
- destination feature mapCopyright © 2019 Neuroph Project. All rights reserved.