com.googlecode.fannj
public class Layer extends ArrayList<Neuron>
modCount
Constructor and Description |
---|
Layer() |
Modifier and Type | Method and Description |
---|---|
static Layer |
create(int numNeurons)
Create a Layer with the specified number of neurons with the default
Activation Function:
Neuron.DEFAULT_ACTIVATION_FUNCTION with
steepness: Neuron.DEFAULT_ACTIVATION_STEEPNESS |
static Layer |
create(int numNeurons,
ActivationFunction activationFunction)
Create a Layer with the specified number of neruons and a particular
ActivationFunction with the steepness:
Neuron.DEFAULT_ACTIVATION_STEEPNESS |
static Layer |
create(int numNeurons,
ActivationFunction activationFunction,
float steepness)
Create a Layer with the specified number of neruons and a particular
ActivationFunction with specified steepness
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
public static Layer create(int numNeurons)
Neuron.DEFAULT_ACTIVATION_FUNCTION
with
steepness: Neuron.DEFAULT_ACTIVATION_STEEPNESS
numNeurons
- public static Layer create(int numNeurons, ActivationFunction activationFunction)
Neuron.DEFAULT_ACTIVATION_STEEPNESS
numNeurons
- activationFunction
- public static Layer create(int numNeurons, ActivationFunction activationFunction, float steepness)
numNeurons
- activationFunction
- steepness
-