src/utils/matrix/AbstractMatrix.java
public Matrix averagePoolGradient() throws MatrixException {
        Matrix inputGradient = getNewMatrix(getRows() + getFilterRowSize() - 1, getColumns() + getFilterColumnSize() - 1);
        averagePoolGradient(inputGradient);
        return inputGradient;
    }
/**
     * Calculates gradient of average pooling operation for this matrix.
     *
     * @return input gradient.
     */
Calculates gradient of average pooling operation for this matrix.

@return input gradient.
Calculates gradient of average pooling operation for this matrix . @return input gradient .
public Matrix averagePoolGradient() throws MatrixException {
        Matrix inputGradient = getNewMatrix(getRows() + getFilterRowSize() - 1, getColumns() + getFilterColumnSize() - 1);
        averagePoolGradient(inputGradient);
        return inputGradient;
    }
public Matrix averagePoolGradient ( ) throws MatrixException { Matrix inputGradient = getNewMatrix ( getRows ( ) + getFilterRowSize ( ) - 1 , getColumns ( ) + getFilterColumnSize ( ) - 1 ) ; averagePoolGradient ( inputGradient ) ; return inputGradient ; }
Calculates gradient of average pooling operation for this matrix.
Calculates gradient of average pooling operation for this matrix .