public abstract class ALayerStack extends Object implements IThinker, IParameterised
| 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() |
int |
getParameterLength()
Returns the length of the parameter vector for this model
|
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.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOutputLengthgetInputLengthgetComponentsgetGradient, getParameterspublic 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()
IModulepublic int getParameterLength()
IParameterisedgetParameterLength in interface IParameterisedpublic abstract void train(mikera.vectorz.AVector input,
mikera.vectorz.AVector target)
public abstract void trainGradient(mikera.vectorz.AVector input,
mikera.vectorz.AVector outputGradient,
mikera.vectorz.AVector inputGradient,
double factor,
boolean skipTopDerivative)
Copyright © 2013. All Rights Reserved.