Пример #1
0
        public void TestInputNeuron()
        {
            double[] input  = { 0.25, 0.25, 0.25, 0.25 };
            double[] expect = { 1, 0, 1, 0 };

            layer1.Input(0, input);
            layer1.Input(2, input);
            double[] output = layer1.Output();

            Validate(expect, output);
        }