Esempio n. 1
0
        private void AddLayerText(LayerBase layer, StringBuilder builder)
        {
            string bias       = layer.Bias?.Id ?? "(none)";
            string nodesCount = layer.GetAllNodes().Count().ToString();
            string next       = layer.Next?.Id ?? "(this is the output layer)";

            builder.AppendLine("Bias: " + bias);
            builder.AppendLine("Nodes count: " + nodesCount);
            builder.AppendLine("Next layer: " + next);
        }