public class CompoundLayerStack extends ALayerStack
| Constructor and Description |
|---|
CompoundLayerStack(ALayerStack a,
ALayerStack b) |
| Modifier and Type | Method and Description |
|---|---|
ALayerStack |
clone()
Creates a clone of a module, including a deep copy of any mutable state.
|
static ALayerStack |
create(List<AWeightLayer> layers) |
List<IComponent> |
getComponents() |
mikera.vectorz.AVector |
getData(int i) |
mikera.vectorz.AVector |
getGradient()
Return an AVector referencing the accumulated gradient in this model
|
mikera.vectorz.AVector |
getInputGradient() |
AWeightLayer |
getLayer(int i) |
int |
getLayerCount() |
mikera.vectorz.AVector |
getOutputGradient() |
mikera.vectorz.AVector |
getParameters()
Return an AVector referring to the parameters in the model.
|
boolean |
hasDifferentTrainingThinking() |
static ALayerStack |
stack(ALayerStack a,
ALayerStack b) |
void |
thinkInternal()
Thinks within the scope of the component.
|
void |
trainGradientInternal(double factor)
Abstract method for training gradients.
|
getInput, getLayers, getOutput, subStackapplyConstraints, applyConstraintsInternal, generate, generate, getComponent, getConstraints, getDefaultLossFunction, getDownStack, getInputLength, getInputState, getLearnFactor, getModules, getOutputLength, getParameterLength, getUpStack, initRandom, isStochastic, isSynthesiser, iterator, setConstraint, setInput, setLearnFactor, setOutput, think, think, thinkInternalTraining, topComponent, train, train, trainSynth, trainSynthequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic CompoundLayerStack(ALayerStack a, ALayerStack b)
public static ALayerStack stack(ALayerStack a, ALayerStack b)
public void thinkInternal()
IComponentpublic void trainGradientInternal(double factor)
AComponenttrainGradientInternal in interface IComponenttrainGradientInternal in class AComponentpublic List<IComponent> getComponents()
public mikera.vectorz.AVector getParameters()
IParameterisedpublic mikera.vectorz.AVector getGradient()
IParameterisedpublic mikera.vectorz.AVector getInputGradient()
public mikera.vectorz.AVector getOutputGradient()
public int getLayerCount()
getLayerCount in class ALayerStackpublic AWeightLayer getLayer(int i)
getLayer in class ALayerStackpublic mikera.vectorz.AVector getData(int i)
getData in class ALayerStackpublic ALayerStack clone()
IModuleclone in interface IComponentclone in interface IModuleclone in interface IParameterisedclone in interface ISynthesiserclone in interface IThinkerclone in interface ITrainableclone in class ALayerStackpublic static ALayerStack create(List<AWeightLayer> layers)
public boolean hasDifferentTrainingThinking()
Copyright © 2014. All rights reserved.