|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.encog.neural.networks.structure.CalculateDepth
public class 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.
| Constructor Summary | |
|---|---|
CalculateDepth(BasicNetwork network)
Construct the depth calculation object. |
|
| Method Summary | |
|---|---|
int |
getDepth(Layer layer)
Get the depth for a specific layer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CalculateDepth(BasicNetwork network)
network - The network that we are calculating for.| Method Detail |
|---|
public int getDepth(Layer layer)
layer - The layer to get the depth for.
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||