public class Normaliser extends AComponent
| Modifier and Type | Field and Description |
|---|---|
protected mikera.vectorz.Vector |
input |
protected mikera.vectorz.Vector |
inputGradient |
protected mikera.vectorz.Vector |
output |
protected mikera.vectorz.Vector |
outputGradient |
| Modifier and Type | Method and Description |
|---|---|
Normaliser |
clone()
Creates a clone of a module, including a deep copy of any mutable state.
|
static Normaliser |
create(mikera.vectorz.AVector mean,
mikera.vectorz.AVector stdev) |
static Normaliser |
create(int length,
double mean,
double stdev) |
void |
generate(mikera.vectorz.AVector input,
mikera.vectorz.AVector output) |
List<IComponent> |
getComponents() |
mikera.vectorz.AVector |
getGradient()
Return an AVector referencing the accumulated gradient in this model
|
mikera.vectorz.Vector |
getInput() |
mikera.vectorz.Vector |
getInputGradient() |
IInputState |
getInputState() |
mikera.vectorz.Vector |
getOutput() |
mikera.vectorz.Vector |
getOutputGradient() |
mikera.vectorz.AVector |
getParameters()
Return an AVector referring to the parameters in the model.
|
boolean |
hasDifferentTrainingThinking() |
void |
setInput(mikera.vectorz.AVector input) |
void |
thinkInternal()
Thinks within the scope of the component.
|
void |
trainGradientInternal(double factor)
Abstract method for training gradients.
|
applyConstraints, applyConstraintsInternal, generate, getComponent, getConstraints, getDefaultLossFunction, getDownStack, getInputLength, getLearnFactor, getModules, getOutputLength, getParameterLength, getUpStack, initRandom, isStochastic, isSynthesiser, iterator, setConstraint, setLearnFactor, setOutput, think, think, thinkInternalTraining, topComponent, train, train, trainSynth, trainSynthequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorprotected final mikera.vectorz.Vector input
protected final mikera.vectorz.Vector inputGradient
protected final mikera.vectorz.Vector output
protected final mikera.vectorz.Vector outputGradient
public static Normaliser create(mikera.vectorz.AVector mean, mikera.vectorz.AVector stdev)
public static Normaliser create(int length, double mean, double stdev)
public void thinkInternal()
IComponentpublic List<IComponent> getComponents()
getComponents in interface IComponentpublic mikera.vectorz.AVector getParameters()
IParameterisedpublic mikera.vectorz.AVector getGradient()
IParameterisedpublic void trainGradientInternal(double factor)
AComponenttrainGradientInternal in interface IComponenttrainGradientInternal in class AComponentpublic Normaliser clone()
IModuleclone in interface IComponentclone in interface IModuleclone in interface IParameterisedclone in interface ISynthesiserclone in interface IThinkerclone in interface ITrainableclone in class AComponentpublic void generate(mikera.vectorz.AVector input,
mikera.vectorz.AVector output)
generate in interface ISynthesisergenerate in class AComponentpublic boolean hasDifferentTrainingThinking()
public IInputState getInputState()
getInputState in interface IComponentgetInputState in class AComponentpublic mikera.vectorz.Vector getInput()
public mikera.vectorz.Vector getOutput()
public mikera.vectorz.Vector getOutputGradient()
public void setInput(mikera.vectorz.AVector input)
setInput in interface IInputStatesetInput in class AComponentpublic mikera.vectorz.Vector getInputGradient()
Copyright © 2014. All rights reserved.