Nn.Neuron.toString C# (CSharp) Method

toString() public method

public toString ( bool debug ) : string
debug bool
return string
        public string toString(bool debug)
        {
            string str = "";
            //string str = string.Format("\t Biais : {0}\n",biais);
            //str = string.Format("Neuron have : \n");
            for (int i = 0; i < inputs.Count; i++)
            {
                str += string.Format("\t \t Input {0} :input ={1}, weight= {2} \n", i,inputs[i].input,inputs[i].weight);
            }
            if (debug) Debug.Log(str);
            return str;
        }