public static NeuralNetworkBuilder For( NeuralNetworkContext context, IProvideRandomNumberGeneration randomNumberGenerater = null) { randomNumberGenerater = randomNumberGenerater ?? RandomNumberProvider.For(new Random(1)); return(new NeuralNetworkBuilder(context, randomNumberGenerater)); }
public NeuralNetworkBuilder(NeuralNetworkContext context, IProvideRandomNumberGeneration randomNumberGenerator) { this.context = context; this.randomNumberGenerator = randomNumberGenerator; }
internal NeuralNetwork(NeuralNetworkContext context) { Context = context; }