org.encog.neural.networks.layers
public interface Layer
Modifier and Type | Method and Description |
---|---|
ActivationFunction |
getActivationFunction() |
double |
getBiasActivation()
Most layer types will default this value to one.
|
BasicNetwork |
getNetwork() |
int |
getNeuronCount() |
boolean |
hasBias() |
void |
setActivation(ActivationFunction activation)
Set the activation function.
|
void |
setBiasActivation(double activation)
Most layer types will default this value to one.
|
void |
setNetwork(BasicNetwork network)
Set the network that this layer belongs to.
|
ActivationFunction getActivationFunction()
BasicNetwork getNetwork()
int getNeuronCount()
boolean hasBias()
void setNetwork(BasicNetwork network)
network
- The network.void setBiasActivation(double activation)
activation
- The activation for the bias weights.double getBiasActivation()
void setActivation(ActivationFunction activation)
activation
- The activation function.Copyright © 2014. All Rights Reserved.