org.encog.neural.freeform.basic
public class BasicFreeformLayer extends Object implements FreeformLayer, Serializable
| Constructor and Description |
|---|
BasicFreeformLayer() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(FreeformNeuron basicFreeformNeuron)
Add a neuron to this layer.
|
List<FreeformNeuron> |
getNeurons() |
boolean |
hasBias() |
void |
setActivation(int i,
double activation)
Set the activation for the specified index.
|
int |
size() |
int |
sizeNonBias() |
public void add(FreeformNeuron basicFreeformNeuron)
add in interface FreeformLayerbasicFreeformNeuron - The neuron to add.public List<FreeformNeuron> getNeurons()
getNeurons in interface FreeformLayerpublic boolean hasBias()
hasBias in interface FreeformLayerpublic void setActivation(int i,
double activation)
setActivation in interface FreeformLayeri - The index.activation - The data for that index.public int size()
size in interface FreeformLayerpublic int sizeNonBias()
sizeNonBias in interface FreeformLayerCopyright © 2014. All Rights Reserved.