src/core/layer/AbstractExecutionLayer.java
public void registerWeight(Matrix weight, boolean forRegularization, boolean forNormalization) {
        weightsMap.put(weightsMap.size(), weight);
        if (forNormalization) normalizedWeights.add(weight);
        if (forRegularization) regularizedWeights.add(weight);
    }
/**
     * Registers weights of layer.
     *
     * @param weight weight matrix to be registered.
     * @param forRegularization true if weight is registered for regularization otherwise false.
     * @param forNormalization true if weight is registered for normalization otherwise false.
     */
Registers weights of layer.

@param weight weight matrix to be registered.
@param forRegularization true if weight is registered for regularization otherwise false.
@param forNormalization true if weight is registered for normalization otherwise false.
Registers weights of layer . @param weight weight matrix to be registered . @param forRegularization true if weight is registered for regularization otherwise false . @param forNormalization true if weight is registered for normalization otherwise false .
public void registerWeight(Matrix weight, boolean forRegularization, boolean forNormalization) {
        weightsMap.put(weightsMap.size(), weight);
        if (forNormalization) normalizedWeights.add(weight);
        if (forRegularization) regularizedWeights.add(weight);
    }
public void registerWeight ( Matrix weight , boolean forRegularization , boolean forNormalization ) { weightsMap . put ( weightsMap . size ( ) , weight ) ; if ( forNormalization ) normalizedWeights . add ( weight ) ; if ( forRegularization ) regularizedWeights . add ( weight ) ; }
Registers weights of layer.
Registers weights of layer .