public abstract class ALayerStack extends AComponent
| Constructor and Description |
|---|
ALayerStack() |
| Modifier and Type | Method and Description |
|---|---|
abstract ALayerStack |
clone()
Creates a clone of a module, including a deep copy of any mutable state.
|
abstract mikera.vectorz.AVector |
getData(int i) |
mikera.vectorz.AVector |
getInput() |
abstract AWeightLayer |
getLayer(int i) |
abstract int |
getLayerCount() |
List<AWeightLayer> |
getLayers() |
mikera.vectorz.AVector |
getOutput() |
abstract void |
train(mikera.vectorz.AVector input,
mikera.vectorz.AVector target) |
abstract void |
trainGradient(mikera.vectorz.AVector input,
mikera.vectorz.AVector outputGradient,
mikera.vectorz.AVector inputGradient,
double factor,
boolean skipTopDerivative)
Trains with a direct gradient.
|
getComponent, getInputLength, getInputState, getModules, getOutputLength, getParameterLength, isStochastic, setInput, setOutput, think, think, thinkInternalTraining, topComponent, trainequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetComponents, thinkInternal, trainGradientInternalgetGradient, getParameterstrainGradientgetInputGradientgetOutputGradientpublic abstract int getLayerCount()
public abstract AWeightLayer getLayer(int i)
public abstract mikera.vectorz.AVector getData(int i)
public mikera.vectorz.AVector getOutput()
public mikera.vectorz.AVector getInput()
public List<AWeightLayer> getLayers()
public abstract ALayerStack clone()
IModuleclone in interface IComponentclone in interface IModuleclone in interface IParameterisedclone in interface IThinkerclone in interface ITrainableclone in class AComponentpublic abstract void train(mikera.vectorz.AVector input,
mikera.vectorz.AVector target)
train in interface ITrainabletrain in class AComponentpublic abstract void trainGradient(mikera.vectorz.AVector input,
mikera.vectorz.AVector outputGradient,
mikera.vectorz.AVector inputGradient,
double factor,
boolean skipTopDerivative)
Copyright © 2013. All Rights Reserved.