src/main/java/convnet/CNN.java
/**
     * Logic for a max pooling layer.
     * @param layer
     */
Logic for a max pooling layer.
@param layer
Logic for a max pooling layer . @param layer
private void execMaxPoolingLayer(Layer layer) {
        int size = layer.getPoolSize();
        int stride = layer.getPoolStride();
        Data input = layer.getLayerInput();
        Data poolOutput = this.evalMaxPooling(input, size, stride);
        layer.setLayerOutput(poolOutput);
    }
private void execMaxPoolingLayer ( Layer layer ) { int size = layer . getPoolSize ( ) ; int stride = layer . getPoolStride ( ) ; Data input = layer . getLayerInput ( ) ; Data poolOutput = this . evalMaxPooling ( input , size , stride ) ; layer . setLayerOutput ( poolOutput ) ; }
Logic for a max pooling layer.
Logic for a max pooling layer .