C# 클래스 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.
파일 보기 프로젝트 열기: encog/encog-silverlight-core 1 사용 예제들

공개 메소드들

메소드 설명
CalculateDepth ( BasicNetwork network ) : System

Construct the depth calculation object.

GetDepth ( ILayer layer ) : int

Get the depth for a specific layer.

비공개 메소드들

메소드 설명
Calculate ( int currentDepth, ILayer layer ) : void

Called internally to calculate a depth.

메소드 상세

CalculateDepth() 공개 메소드

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

GetDepth() 공개 메소드

Get the depth for a specific layer.
public GetDepth ( ILayer layer ) : int
layer ILayer The layer to get the depth for.
리턴 int