|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.neural.flat.FlatLayer
public class FlatLayer
Used to configure a flat layer. Flat layers are not kept by a Flat Network, beyond setup.
| Constructor Summary | |
|---|---|
FlatLayer(ActivationFunction activation,
int count,
double biasActivation)
Construct a flat layer. |
|
| Method Summary | |
|---|---|
ActivationFunction |
getActivation()
|
double |
getBiasActivation()
|
int |
getContextCount()
|
FlatLayer |
getContextFedBy()
|
int |
getCount()
|
int |
getTotalCount()
|
boolean |
hasBias()
|
void |
setActivation(ActivationFunction activation)
|
void |
setBiasActivation(double a)
Set the bias activation. |
void |
setContextFedBy(FlatLayer from)
Set the layer that this layer's context is fed by. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FlatLayer(ActivationFunction activation,
int count,
double biasActivation)
activation - The activation function.count - The neuron count.biasActivation - The bias activation.| Method Detail |
|---|
public final ActivationFunction getActivation()
public final double getBiasActivation()
public final int getContextCount()
public final FlatLayer getContextFedBy()
public final int getCount()
public final int getTotalCount()
public final boolean hasBias()
public final void setActivation(ActivationFunction activation)
activation - the activation to setpublic void setBiasActivation(double a)
a - The bias activation.public final void setContextFedBy(FlatLayer from)
from - The layer feeding.public final String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||