C# Class Encog.Neural.Networks.Structure.CalculateDepth

Utility class to calculate the depth that a layer is from the output layer. If there are multiple ways to get to the specified layer, then the longest depth is returned. This class is used by propagation training to ensure that the layers are always returned on a consistent order.
Afficher le fichier Open project: encog/encog-silverlight-core Class Usage Examples

Méthodes publiques

Méthode Description
CalculateDepth ( BasicNetwork network ) : System

Construct the depth calculation object.

GetDepth ( ILayer layer ) : int

Get the depth for a specific layer.

Private Methods

Méthode Description
Calculate ( int currentDepth, ILayer layer ) : void

Called internally to calculate a depth.

Method Details

CalculateDepth() public méthode

Construct the depth calculation object.
public CalculateDepth ( BasicNetwork network ) : System
network BasicNetwork The network that we are calculating for.
Résultat System

GetDepth() public méthode

Get the depth for a specific layer.
public GetDepth ( ILayer layer ) : int
layer ILayer The layer to get the depth for.
Résultat int