src/core/network/NeuralNetwork.java
public void append(NeuralNetwork otherNeuralNetwork, double tau) throws MatrixException {
        waitToComplete();
        int neuralNetworkLayersSize = neuralNetworkLayers.size();
        for (int index = 0; index < neuralNetworkLayersSize; index++) {
            neuralNetworkLayers.get(index).append(otherNeuralNetwork.getNeuralNetworkLayers().get(index), tau);
        }
    }
/**
     * Appends other neural network to this neural network by weight tau. Effectively appends each weight and bias matrix of each layer by this weight factor.
     *
     * @param otherNeuralNetwork other neural network that contributes to this neural network.
     * @param tau tau which controls contribution of other layer.
     * @throws MatrixException throws exception if matrix operation fails.
     */
Appends other neural network to this neural network by weight tau. Effectively appends each weight and bias matrix of each layer by this weight factor.
@param otherNeuralNetwork other neural network that contributes to this neural network.
@param tau tau which controls contribution of other layer.
@throws MatrixException throws exception if matrix operation fails.
Appends other neural network to this neural network by weight tau . Effectively appends each weight and bias matrix of each layer by this weight factor . @param otherNeuralNetwork other neural network that contributes to this neural network . @param tau tau which controls contribution of other layer . @throws MatrixException throws exception if matrix operation fails .
public void append(NeuralNetwork otherNeuralNetwork, double tau) throws MatrixException {
        waitToComplete();
        int neuralNetworkLayersSize = neuralNetworkLayers.size();
        for (int index = 0; index < neuralNetworkLayersSize; index++) {
            neuralNetworkLayers.get(index).append(otherNeuralNetwork.getNeuralNetworkLayers().get(index), tau);
        }
    }
public void append ( NeuralNetwork otherNeuralNetwork , double tau ) throws MatrixException { waitToComplete ( ) ; int neuralNetworkLayersSize = neuralNetworkLayers . size ( ) ; for ( int index = 0 ; index < neuralNetworkLayersSize ; index ++ ) { neuralNetworkLayers . get ( index ) . append ( otherNeuralNetwork . getNeuralNetworkLayers ( ) . get ( index ) , tau ) ; } }
Appends other neural network to this neural network by weight tau.
Appends other neural network to this neural network by weight tau .