/// <summary> /// Инициализировать нейронную сеть. /// </summary> public void InitializeNetwork() { var inputLayer = new InputLayer(_imageData); inputLayer.Initialize(); var convolutionalLayer = new ConvolutionalLayer(inputLayer.GetLayerNeurons()); convolutionalLayer.RecognizeMode(FilterCoreModel.GetCore); var hiddenLayer = new HiddenLayer(convolutionalLayer.GetLayerNeurons()); hiddenLayer.RecognizeMode(_weightsInHiddenLayer); var outputLayer = new OutputLayer(hiddenLayer.GetLayerNeurons()); outputLayer.RecognizeMode(_weightsInOutputLayer); ToRecognizeImage(outputLayer.GetOutputNeuron().Output); }