Documentation For Encog 2.x

BasicNetwork.AddLayer(ILayer, SynapseType) Method

Add a layer to the neural network. If there are no layers added this layer will become the input layer. This function automatically updates both the input and output layer references.

public void AddLayer(
   ILayer layer,
   SynapseType type
);

Parameters

layer
The layer to be added to the network.
type
What sort of synapse should connect this layer to the last.

Implements

INetwork.AddLayer

See Also

BasicNetwork Class | Encog.Neural.Networks Namespace | BasicNetwork.AddLayer Overload List