public abstract class AOperationComponent extends AComponent
| Modifier and Type | Field and Description |
|---|---|
protected mikera.vectorz.Vector |
input |
protected mikera.vectorz.Vector |
inputGradient |
protected int |
length |
protected mikera.vectorz.Vector |
output |
protected mikera.vectorz.Vector |
outputGradient |
| Constructor and Description |
|---|
AOperationComponent(int length) |
| Modifier and Type | Method and Description |
|---|---|
abstract AOperationComponent |
clone()
Creates a clone of a module, including a deep copy of any mutable state.
|
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() |
int |
getInputLength() |
IInputState |
getInputState() |
mikera.vectorz.Vector |
getOutput() |
mikera.vectorz.Vector |
getOutputGradient() |
int |
getOutputLength() |
mikera.vectorz.AVector |
getParameters()
Return an AVector referring to the parameters in the model.
|
void |
setInput(mikera.vectorz.AVector input) |
applyConstraints, applyConstraintsInternal, generate, generate, getComponent, getConstraints, getDefaultLossFunction, getDownStack, getLearnFactor, getModules, getParameterLength, getUpStack, initRandom, isStochastic, isSynthesiser, iterator, setConstraint, setLearnFactor, setOutput, think, think, thinkInternalTraining, topComponent, train, train, trainGradientInternal, trainSynth, trainSynthequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasDifferentTrainingThinking, thinkInternalforEach, spliteratorprotected final int length
protected final mikera.vectorz.Vector input
protected final mikera.vectorz.Vector inputGradient
protected final mikera.vectorz.Vector output
protected final mikera.vectorz.Vector outputGradient
public List<IComponent> getComponents()
getComponents in interface IComponentpublic int getInputLength()
getInputLength in interface IInputgetInputLength in class AComponentpublic int getOutputLength()
getOutputLength in interface IOutputgetOutputLength in class AComponentpublic mikera.vectorz.AVector getGradient()
IParameterisedpublic mikera.vectorz.AVector getParameters()
IParameterisedpublic abstract AOperationComponent clone()
IModuleclone in interface IComponentclone in interface IModuleclone in interface IParameterisedclone in interface ISynthesiserclone in interface IThinkerclone in interface ITrainableclone in class AComponentpublic 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.