/// <summary> /// Instantiates a new neural network with the layout provided by the specified <paramref name="layoutProvider"/>. /// </summary> /// <param name="layoutProvider">Provides the layout of the network</param> public NeuralNetwork(INetworkLayoutProvider layoutProvider, ICostFunction costFunction) : this(layoutProvider.GetLayers(), costFunction) { }
/// <summary> /// Instantiates a new neural network with the layout provided by the specified <paramref name="layoutProvider"/>. /// </summary> /// <param name="layoutProvider">Provides the layout of the network</param> public NeuralNetwork(INetworkLayoutProvider layoutProvider) : this(layoutProvider.GetLayers()) { }