public class Normaliser extends AComponent implements ISynthesiser
| 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.
|
void |
setInput(mikera.vectorz.AVector input) |
void |
thinkInternal()
Thinks within the scope of the component.
|
void |
trainGradientInternal(double factor) |
void |
trainSynth(mikera.vectorz.AVector input) |
applyConstraints, generate, getComponent, getInputLength, getModules, getOutputLength, getParameterLength, isStochastic, setOutput, think, think, thinkInternalTraining, topComponent, train, train, trainGradientequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOutputLengthgetInputLengthgetModulesgetParameterLengthprotected 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()
IComponentthinkInternal in interface IComponentpublic List<IComponent> getComponents()
getComponents in interface IComponentpublic mikera.vectorz.AVector getParameters()
IParameterisedgetParameters in interface IParameterisedpublic mikera.vectorz.AVector getGradient()
IParameterisedgetGradient in interface IParameterisedpublic void trainGradientInternal(double factor)
trainGradientInternal 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 void trainSynth(mikera.vectorz.AVector input)
trainSynth in interface ISynthesiserpublic 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 © 2013. All Rights Reserved.