src/core/layer/normalization/WeightNormalization.java
public void forwardProcess() throws MatrixException, DynamicParamException {
        resetLayerOutputs();
        getLayerOutputs().putAll(getPreviousLayerOutputs());

        if (isTraining()) {
            for (Matrix weight : procedures.keySet()) {
                weights.put(weight, weight.copy());
                Procedure procedure = procedures.get(weight);
                procedure.reset();
                weight.setEqualTo(procedure.calculateExpression(weight, 0));
            }
        }
    }
/**
     * Takes single forward processing step to process layer input(s).<br>
     *
     * @throws MatrixException throws exception if matrix operation fails.
     * @throws DynamicParamException throws exception if parameter (params) setting fails.
     */
Takes single forward processing step to process layer input(s).

@throws MatrixException throws exception if matrix operation fails.
@throws DynamicParamException throws exception if parameter (params) setting fails.
Takes single forward processing step to process layer input ( s ) . @throws MatrixException throws exception if matrix operation fails . @throws DynamicParamException throws exception if parameter ( params ) setting fails .
public void forwardProcess() throws MatrixException, DynamicParamException {
        resetLayerOutputs();
        getLayerOutputs().putAll(getPreviousLayerOutputs());
        if (isTraining()) {
            for (Matrix weight : procedures.keySet()) {
                weights.put(weight, weight.copy());
                Procedure procedure = procedures.get(weight);
                procedure.reset();
                weight.setEqualTo(procedure.calculateExpression(weight, 0));
            }
        }
    }
public void forwardProcess ( ) throws MatrixException , DynamicParamException { resetLayerOutputs ( ) ; getLayerOutputs ( ) . putAll ( getPreviousLayerOutputs ( ) ) ; if ( isTraining ( ) ) { for ( Matrix weight : procedures . keySet ( ) ) { weights . put ( weight , weight . copy ( ) ) ; Procedure procedure = procedures . get ( weight ) ; procedure . reset ( ) ; weight . setEqualTo ( procedure . calculateExpression ( weight , 0 ) ) ; } } }
Takes single forward processing step to process layer input(s).<br>
Takes single forward processing step to process layer input ( s ) . <br >