public abstract class ACompoundComponent extends AComponent
| Modifier and Type | Field and Description |
|---|---|
protected int |
componentCount |
protected ArrayList<IComponent> |
components |
protected mikera.vectorz.AVector |
gradient |
protected mikera.vectorz.AVector |
parameters |
| Constructor and Description |
|---|
ACompoundComponent(List<? extends IComponent> comps) |
| Modifier and Type | Method and Description |
|---|---|
IComponent |
getComponent(int i) |
List<IComponent> |
getComponents() |
mikera.vectorz.AVector |
getGradient()
Return an AVector referencing the accumulated gradient in this model
|
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.
|
clone, getInputLength, getInputState, getModules, getOutputLength, isStochastic, setInput, setOutput, think, think, thinkInternalTraining, topComponent, train, trainequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitthinkInternal, trainGradientInternaltrainGradientgetInput, getInputGradientgetOutput, getOutputGradientprotected final ArrayList<IComponent> components
protected final mikera.vectorz.AVector gradient
protected final mikera.vectorz.AVector parameters
protected final int componentCount
public ACompoundComponent(List<? extends IComponent> comps)
public mikera.vectorz.AVector getGradient()
IParameterisedpublic mikera.vectorz.AVector getParameters()
IParameterisedpublic int getParameterLength()
IParameterisedgetParameterLength in interface IParameterisedgetParameterLength in class AComponentpublic IComponent getComponent(int i)
getComponent in class AComponentpublic List<IComponent> getComponents()
Copyright © 2013. All Rights Reserved.