src/utils/matrix/AbstractMatrix.java
public Matrix convolveInputGradient(Matrix filter) throws MatrixException {
        Matrix inputGradient = getNewMatrix(getRows() + getFilterRowSize() - 1, getColumns() + getFilterColumnSize() - 1);
        convolveInputGradient(filter, inputGradient);
        return inputGradient;
    }
/**
     * Calculates gradient of convolution for input.
     *
     * @param filter filter for convolutional operator.
     * @return input gradient.
     */
Calculates gradient of convolution for input.

@param filter filter for convolutional operator.
@return input gradient.
Calculates gradient of convolution for input . @param filter filter for convolutional operator . @return input gradient .
public Matrix convolveInputGradient(Matrix filter) throws MatrixException {
        Matrix inputGradient = getNewMatrix(getRows() + getFilterRowSize() - 1, getColumns() + getFilterColumnSize() - 1);
        convolveInputGradient(filter, inputGradient);
        return inputGradient;
    }
public Matrix convolveInputGradient ( Matrix filter ) throws MatrixException { Matrix inputGradient = getNewMatrix ( getRows ( ) + getFilterRowSize ( ) - 1 , getColumns ( ) + getFilterColumnSize ( ) - 1 ) ; convolveInputGradient ( filter , inputGradient ) ; return inputGradient ; }
Calculates gradient of convolution for input.
Calculates gradient of convolution for input .