public NeuralNetworkEngine(NeuralNetworkConfig config)
 {
     if (config == null)
     {
         throw new ArgumentNullException("config");
     }
     _config = config;
 }
 public NeuralNetworkEngineTests()
 {
     _config400x25x10 = new NeuralNetworkConfig
     {
         InputUnits = 400,
         HiddenLayers = new int[] { 25 },
         OutputUnits = 10
     };
     _config1x2X2x1 = new NeuralNetworkConfig
     {
         InputUnits = 1,
         HiddenLayers = new int[] { 2, 2 },
         OutputUnits = 1
     };
 }
 public NeuralNetworkEngine(NeuralNetworkConfig config)
 {
     if (config == null) throw new ArgumentNullException("config");
     _config = config;
 }