Nn.Neuron.fire C# (CSharp) 메소드

fire() 공개 메소드

public fire ( ) : double
리턴 double
        public double fire()
        {
            try
            {
                return activation(combinaison(inputs), 0.4);
            }
            catch
            {
                Debug.Log("You have not set the Inputs or the biais of the neuron correctly");
                //throw new TypeInitializationException('Neuron',ArgumentNullException de); // J'arrive pas a gérer l'exeption
                throw new Exception("You do not have set the input, I guess");
            }
        }