|
||||||||||
| 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()
Do not use this constructor. |
|
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()
public FlatLayer(ActivationFunction activation,
int count,
double biasActivation)
activation - The activation function.count - The neuron count.biasActivation - The bias activation.| Method Detail |
|---|
public ActivationFunction getActivation()
public double getBiasActivation()
public int getContextCount()
public FlatLayer getContextFedBy()
public int getCount()
public int getTotalCount()
public boolean hasBias()
public void setActivation(ActivationFunction activation)
activation - the activation to setpublic void setBiasActivation(double a)
a - The bias activation.public void setContextFedBy(FlatLayer from)
from - The layer feeding.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||