Documentation of 'org.neuroph.nnet.comp.layer.PoolingLayer' Java class
PoolingLayer
org.neuroph.nnet.comp.layer

Class PoolingLayer

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Iterable<Neuron>


    public class PoolingLayer
    extends FeatureMapsLayer
    Pooling layer is a special type of feature maps layer (FeatureMapsLayer) which is used in convolutional networks. It contains neurons with max input function and method for creating pooling layer specific conectivity patterns. The role of pooling layer is dimensionality and complexity reduction, while it keeps essential information.
    See Also:
    FeatureMapsLayer, Serialized Form
    • Field Detail

      • DEFAULT_NEURON_PROP

        public static final NeuronProperties DEFAULT_NEURON_PROP
        Default neuron properties for pooling layer
    • Constructor Detail

      • PoolingLayer

        public 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. Number of maps in pooling layer must be the same as number of maps in previous layer.
        Parameters:
        fromLayer - previous layer, which will be connected to this layer
        kernel - kernel for all feature maps
      • PoolingLayer

        public 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.
        Parameters:
        fromLayer - previous layer, which will be connected to this layer
        kernel - kernel for all feature maps
        numberOfMaps - number of feature maps to create in this layer
        neuronProp - settings for neurons in feature maps
    • Method Detail

      • connectMaps

        public void connectMaps(FeatureMapLayer fromMap,
                                FeatureMapLayer toMap)
        Creates connections with shared weights between two feature maps Assumes that toMap is from Pooling layer.

        In this implementation, there is no overlapping between kernel positions.

        Specified by:
        connectMaps in class FeatureMapsLayer
        Parameters:
        fromMap - source feature map
        toMap - destination feature map

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.