Documentation For Encog 2.x

NeuralStructure.FindSynapse Method

Find the specified synapse.

public ISynapse FindSynapse(
   ILayer fromLayer,
   ILayer toLayer,
   bool required
);

Parameters

fromLayer
From layer.
toLayer
To layer.
required
Throw an error if this synapse is not there.

Return Value

The synapse, if found.

See Also

NeuralStructure Class | Encog.Neural.Networks Namespace