Class AbstractPoolingFunction<T,​R>

    • Field Detail

    • Constructor Detail

      • AbstractPoolingFunction

        public AbstractPoolingFunction()
    • Method Detail

      • setYStride

        public void setYStride​(int yStride)
        sets value of field yStride
        Parameters:
        yStride - value of field yStride
        See Also:
        yStride
      • setXStride

        public void setXStride​(int xStride)
        sets value of field xStride
        Parameters:
        xStride - value of field xStride
        See Also:
        xStride
      • setNeighborhoodWidth

        public void setNeighborhoodWidth​(int neighborhoodWidth)
        sets value of field neighborhoodWidth
        Parameters:
        neighborhoodWidth - value of field neighborhoodWidth
        See Also:
        neighborhoodWidth
      • setNeighborhoodHeight

        public void setNeighborhoodHeight​(int neighborhoodHeight)
        sets value of field neighborhoodHeight
        Parameters:
        neighborhoodHeight - value of field neighborhoodHeight
        See Also:
        neighborhoodHeight
      • pooling

        protected abstract double pooling​(List<Double> values)
        Inner Function that is applied for all values in neighborhood
        Parameters:
        values - used for pooling
        Returns:
        pooling result