public mythLayer(int row) { _data = new mythNeuron[row]; for (int i = 0; i < _data.Length; i++) { _data[i] = new mythNeuron(i); } }
public mythLayer(double[] data) { _data = new mythNeuron[data.Length]; for (int i = 0; i < _data.Length; i++) { _data[i] = new mythNeuron(i, data[i]); } //_data = data; }