public class NeuronLayer extends NeuronGroup
Modifier and Type | Class and Description |
---|---|
static class |
NeuronLayer.LayerType
Enumeration of layer types.
|
DEFAULT_GROUP_SIZE, DEFAULT_LAYOUT, FLUSH_FREQUENCY
Constructor and Description |
---|
NeuronLayer(Network net,
java.util.List<Neuron> neurons,
NeuronLayer.LayerType type)
Construct a neuron layer.
|
Modifier and Type | Method and Description |
---|---|
NeuronLayer.LayerType |
getType() |
addIncomingSg, addNeuron, addNeuron, addOutgoingSg, applyInputs, applyLayout, applyLayout, clearActivations, clearNeuronList, containsAsIncoming, containsAsOutgoing, containsNeuron, copyActivations, deepCopy, delete, forceSetActivationLevels, forceSetActivations, getActivations, getBetweenNeuronInterval, getBiases, getCenterX, getCenterY, getExternalActivations, getFourCorners, getGridThreshold, getHeight, getIncomingSgs, getIncomingWeights, getLabelsOfActiveNeurons, getLayout, getMaxDim, getMaxX, getMaxY, getMinX, getMinY, getMostActiveNeuron, getNeuronList, getNeuronsInRadius, getNeuronType, getNumSubSamples, getOutgoingSg, getOutgoingWeights, getPosition, getSpikeIndexes, getTestData, getTypeDescription, getUpdateMethodDesecription, getWidth, inFanInOfSomeNode, isAllClamped, isAllUnclamped, isEmpty, isInputMode, isRecordAsSpikes, isRecording, isSpikingNeuronGroup, isUseSubSampling, offset, printActivations, prune, randomize, randomizeBiases, randomizeIncomingWeights, randomizeOutgoingWeights, readNextInputs, removeIncomingSg, removeNeuron, removeOutgoingSg, resetSubsamplingIndices, setActivationLevels, setActivations, setBetweenNeuronInterval, setClamped, setGridThreshold, setIncrement, setInputMode, setInputValues, setLayout, setLayoutBasedOnSize, setLayoutBasedOnSize, setLocation, setLowerBound, setNeuronType, setNeuronType, setNumSubSamples, setRecordAsSpikes, setSpikingNeuronGroup, setTestData, setUpperBound, setUseSubSampling, setXYZCoordinatesFromFile, size, startRecording, stopRecording, testAndSetIfSpiking, toString, update, writeActsToFile
getId, getLabel, getParentGroup, getParentNetwork, getStateInfo, hasParentGroup, isMarkedForDeletion, isTopLevelGroup, recursivelySetIds, setId, setLabel, setMarkedForDeletion, setParentGroup, setStateInfo
public NeuronLayer(Network net, java.util.List<Neuron> neurons, NeuronLayer.LayerType type)
net
- parent networkneurons
- set of neuronstype
- the type of this layerpublic NeuronLayer.LayerType getType()