- Hands-On Neural Network Programming with C#
- Matt R. Cole
- 42字
- 2025-02-24 05:32:27
Testing the network
In order to test the network, we to do a simple forward and backward propagation, depicted as follows:
public double[] Compute(params double[] inputs)
{
Perform forward propagation, as follows:
ForwardPropagate(inputs);
Return the data, as follows:
return OutputLayer.Select(a =>a.Value).ToArray();
}