public class BasicFreeformLayer extends java.lang.Object implements FreeformLayer, java.io.Serializable
| Constructor and Description |
|---|
BasicFreeformLayer() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(FreeformNeuron basicFreeformNeuron)
Add a neuron to this layer.
|
java.util.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 java.util.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 FreeformLayer