public final class FullWeightLayer extends AWeightLayer
BIAS_INITIAL_SCALE, INITIAL_WEIGHT_SCALE, inputLength, outputLength| Constructor and Description |
|---|
FullWeightLayer(int inputLength,
int outputLength) |
| Modifier and Type | Method and Description |
|---|---|
mikera.matrixx.AMatrix |
asMatrix() |
FullWeightLayer |
clone()
Creates a clone of a module, including a deep copy of any mutable state.
|
List<IModule> |
getComponents()
Returns a list of sub-components of this module
|
mikera.vectorz.AVector |
getGradient()
Return an AVector referencing the accumulated gradient in this model
|
FullWeightLayer |
getInverse() |
FullWeightLayer |
getInverseStructure() |
int |
getLinkCount(int outputIndex) |
int |
getLinkSource(int outputIndex,
int number) |
double |
getLinkWeight(int outputIndex,
int number) |
int |
getParameterLength()
Returns the length of the parameter vector for this model
|
mikera.vectorz.AVector |
getParameters()
Return an AVector referring to the parameters in the model.
|
mikera.indexz.Index |
getSourceIndex(int outputIndex) |
mikera.vectorz.AVector |
getSourceWeights(int outputIndex) |
void |
initRandom() |
void |
think(mikera.vectorz.AVector input,
mikera.vectorz.AVector output) |
void |
trainGradient(mikera.vectorz.AVector input,
mikera.vectorz.AVector outputGradient,
mikera.vectorz.AVector inputGradient,
double factor) |
getInputLength, getOutputLengthpublic mikera.vectorz.AVector getParameters()
IParameterisedgetParameters in interface IParameterisedgetParameters in class ALayerpublic List<IModule> getComponents()
IModulegetComponents in interface IModulegetComponents in class AWeightLayerpublic int getParameterLength()
IParameterisedgetParameterLength in interface IParameterisedgetParameterLength in class ALayerpublic void think(mikera.vectorz.AVector input,
mikera.vectorz.AVector output)
public mikera.vectorz.AVector getGradient()
IParameterisedpublic void trainGradient(mikera.vectorz.AVector input,
mikera.vectorz.AVector outputGradient,
mikera.vectorz.AVector inputGradient,
double factor)
trainGradient in class AWeightLayerpublic FullWeightLayer clone()
IModuleclone in interface IModuleclone in interface IParameterisedclone in interface IThinkerclone in class AWeightLayerpublic int getLinkCount(int outputIndex)
getLinkCount in class AWeightLayerpublic double getLinkWeight(int outputIndex,
int number)
getLinkWeight in class AWeightLayerpublic int getLinkSource(int outputIndex,
int number)
getLinkSource in class AWeightLayerpublic void initRandom()
initRandom in class AWeightLayerpublic FullWeightLayer getInverse()
getInverse in class AWeightLayerpublic FullWeightLayer getInverseStructure()
public mikera.indexz.Index getSourceIndex(int outputIndex)
getSourceIndex in class AWeightLayerpublic mikera.vectorz.AVector getSourceWeights(int outputIndex)
getSourceWeights in class AWeightLayerpublic mikera.matrixx.AMatrix asMatrix()
asMatrix in class AWeightLayerCopyright © 2013. All Rights Reserved.