public setInput ( Input input, int position ) : void | ||
input | Input | |
position | int | |
return | void |
public void setInput(Input input, int position)
{
if( inputs.Count > position)
inputs[position] = input;
else
{
Debug.Log("setInput: try to set Input in a too high position");
throw new IndexOutOfRangeException();
}
}
public void setBias(double bias)
Neuron::setInput ( double input, int position ) : void |