src/utils/procedure/expression/WinogradConvolutionExpression.java
public void calculateExpression(int sampleIndex) throws MatrixException {
        if (argument1.getMatrix(sampleIndex) == null || argument2.getMatrix(sampleIndex) == null) throw new MatrixException(getExpressionName() + ": Arguments for operation not defined");
        if (preprocessedFilter == null) preprocessedFilter = G.dot(argument2.getMatrix(sampleIndex)).dot(GT);
        winogradConvolutionMatrixOperation.apply(argument1.getMatrix(sampleIndex), preprocessedFilter, result.getNewMatrix(sampleIndex));
    }
/**
     * Calculates expression.
     *
     * @param sampleIndex sample index
     * @throws MatrixException throws exception if calculation fails.
     */
Calculates expression.

@param sampleIndex sample index
@throws MatrixException throws exception if calculation fails.
Calculates expression . @param sampleIndex sample index @throws MatrixException throws exception if calculation fails .
public void calculateExpression(int sampleIndex) throws MatrixException {
        if (argument1.getMatrix(sampleIndex) == null || argument2.getMatrix(sampleIndex) == null) throw new MatrixException(getExpressionName() + ": Arguments for operation not defined");
        if (preprocessedFilter == null) preprocessedFilter = G.dot(argument2.getMatrix(sampleIndex)).dot(GT);
        winogradConvolutionMatrixOperation.apply(argument1.getMatrix(sampleIndex), preprocessedFilter, result.getNewMatrix(sampleIndex));
    }
public void calculateExpression ( int sampleIndex ) throws MatrixException { if ( argument1 . getMatrix ( sampleIndex ) == null || argument2 . getMatrix ( sampleIndex ) == null ) throw new MatrixException ( getExpressionName ( ) + ": Arguments for operation not defined" ) ; if ( preprocessedFilter == null ) preprocessedFilter = G . dot ( argument2 . getMatrix ( sampleIndex ) ) . dot ( GT ) ; winogradConvolutionMatrixOperation . apply ( argument1 . getMatrix ( sampleIndex ) , preprocessedFilter , result . getNewMatrix ( sampleIndex ) ) ; }
Calculates expression.
Calculates expression .