Exemplo n.º 1
0
        public void AddLayer(FeedforwardLayer layer)
        {
            if (OutputLayer != null)
            {
				layer.Previous = OutputLayer;
				OutputLayer.Next = layer;
            }

			Layers.Add(layer);
        }
Exemplo n.º 2
0
        public void AddLayer(FeedforwardLayer layer)
        {
            if (OutputLayer != null)
            {
                layer.Previous   = OutputLayer;
                OutputLayer.Next = layer;
            }

            Layers.Add(layer);
        }
Exemplo n.º 3
0
        public FeedforwardNetwork CloneStructure()
        {
            var result = new FeedforwardNetwork();

            foreach (var layer in Layers)
            {
                var clonedLayer = new FeedforwardLayer(layer.NeuronCount);
                result.AddLayer(clonedLayer);
            }
            return(result);
        }
Exemplo n.º 4
0
		public FeedforwardNetwork CloneStructure()
        {
            var result = new FeedforwardNetwork();
			foreach (var layer in Layers)
            {
                var clonedLayer = new FeedforwardLayer(layer.NeuronCount);
                result.AddLayer(clonedLayer);
            }
			return result;
        }