Exemplo n.º 1
0
        /// <summary>
        /// Initializes the network.
        /// </summary>
        public void Initialize()
        {
            biasLayer.Initialize();
            inputLayer.Initialize();
            foreach (IActivationLayer hiddenLayer in hiddenLayers)
            {
                hiddenLayer.Initialize();
            }
            outputLayer.Initialize();

            foreach (IConnector connector in connectors)
            {
                connector.Initialize();
            }
        }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes the layer.
 /// </summary>
 public virtual void Initialize()
 {
     decoratedActivationLayer.Initialize();
 }