public void ReturnTwoGivenWeightValueIsTwo()
        {
            bias.Weight.Value = 2;
            var result = bias.Calculate();

            Assert.Equal(result, 2);
        }
Example #2
0
 public sealed override void CalculateOutput()
 {
     Output += Bias.Calculate();
     Output  = base.TransferFunction.Evaluate(Output);
 }