public int CalculateNeuronCount() { int result = 0; foreach (ILayer layer in _structure.Layers) { result += layer.NeuronCount; } return result; }