public void copyTargets(Layer layer, double[] vector) { if(this.verbosity>4) { Console.Write("Copying Target: "); foreach(double no in vector) { Console.Write("{0} ", no); } Console.Write("\n"); } layer.copyTargets(vector); }
public void copyTargets(Layer layer, double[] vec, int start) { //vector = this.replacePatterns(vec, layer.name); double[] array = new double[layer.size]; for(int i = 0; i<layer.size; i++) { array[i]=vec[i+start]; } layer.copyTargets(array); }