src/utils/matrix/operation/CyclicPoolGradientMatrixOperation.java
public Matrix apply(Matrix outputGradient, HashMap<Integer, Integer> inputPos, Matrix inputGradient) throws MatrixException {
        this.outputGradient = outputGradient;
        this.inputPos = inputPos;
        this.inputGradient = inputGradient;
        applyMatrixOperation();
        return inputGradient;
    }
/**
     * Applies matrix operation.
     *
     * @param outputGradient output gradient.
     * @param inputPos input positions.
     * @param inputGradient input gradient.
     * @return input gradient.
     * @throws MatrixException throws exception if matrix operation fails.
     */
Applies matrix operation.

@param outputGradient output gradient.
@param inputPos input positions.
@param inputGradient input gradient.
@return input gradient.
@throws MatrixException throws exception if matrix operation fails.
Applies matrix operation . @param outputGradient output gradient . @param inputPos input positions . @param inputGradient input gradient . @return input gradient . @throws MatrixException throws exception if matrix operation fails .
public Matrix apply(Matrix outputGradient, HashMap<Integer, Integer> inputPos, Matrix inputGradient) throws MatrixException {
        this.outputGradient = outputGradient;
        this.inputPos = inputPos;
        this.inputGradient = inputGradient;
        applyMatrixOperation();
        return inputGradient;
    }
public Matrix apply ( Matrix outputGradient , HashMap < Integer , Integer > inputPos , Matrix inputGradient ) throws MatrixException { this . outputGradient = outputGradient ; this . inputPos = inputPos ; this . inputGradient = inputGradient ; applyMatrixOperation ( ) ; return inputGradient ; }
Applies matrix operation.
Applies matrix operation .