public abstract class Layer extends Object implements Serializable
Layer
s in a neural network.InputLayer
,
HiddenLayer
,
Serialized FormModifier | 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
Perceptron s 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()
Perceptron
s in this
Layer
.Node
s associated with this
Layer
.Copyright © 2020 Rogue Wave Software. All rights reserved.