public class NeuralStructure
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
NeuralStructure(BasicNetwork network)
Construct a structure object for the specified network.
|
| Modifier and Type | Method and Description |
|---|---|
int |
calculateSize()
Calculate the size that an array should be to hold all of the weights and
bias values.
|
void |
enforceLimit()
Enforce that all connections are above the connection limit.
|
void |
finalizeLimit()
Parse/finalize the limit value for connections.
|
void |
finalizeStructure() |
void |
finalizeStructure(boolean dropout)
Build the synapse and layer structure.
|
double |
getConnectionLimit() |
FlatNetwork |
getFlat() |
java.util.List<Layer> |
getLayers() |
BasicNetwork |
getNetwork() |
boolean |
isConnectionLimited() |
void |
requireFlat()
Throw an error if there is no flat network.
|
void |
setFlat(FlatNetwork flat)
Set the flat network.
|
void |
updateProperties()
Update any properties from the property map.
|
public NeuralStructure(BasicNetwork network)
network - The network to construct a structure for.public final int calculateSize()
public final void enforceLimit()
public void finalizeLimit()
public final void finalizeStructure(boolean dropout)
dropout - Is dropout used?public final void finalizeStructure()
public final double getConnectionLimit()
public final FlatNetwork getFlat()
public final java.util.List<Layer> getLayers()
public final BasicNetwork getNetwork()
public final boolean isConnectionLimited()
public final void requireFlat()
public final void setFlat(FlatNetwork flat)
flat - The flat network.public final void updateProperties()