public abstract class Layer extends Object implements Serializable
Layers in a neural network.InputLayer,
HiddenLayer,
Serialized Form| Modifier | Constructor and Description |
|---|---|
protected |
Layer(FeedForwardNetwork network)
Constructs a
Layer. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addNode(Node node)
Associates a
Perceptron with this Layer. |
int |
getIndex()
Returns the index of this
Layer. |
Node[] |
getNodes()
Return a list of the
Perceptrons in this
Layer. |
protected Layer(FeedForwardNetwork network)
Layer.network - The FeedForwardNetwork to which this
Layer is to be associated.public int getIndex()
Layer.int which contains the value of property
index.protected void addNode(Node node)
Perceptron with this Layer.node - A Node to associate with this
Layer.public Node[] getNodes()
Perceptrons in this
Layer.Nodes associated with this
Layer.Copyright © 2020 Rogue Wave Software. All rights reserved.