public abstract class AbstractLSTM extends BaseRecurrentLayer
Modifier and Type | Class and Description |
---|---|
static class |
AbstractLSTM.Builder<T extends AbstractLSTM.Builder<T>> |
Modifier and Type | Field and Description |
---|---|
protected double |
forgetGateBiasInit |
protected IActivation |
gateActivationFn |
distRecurrent, weightInitRecurrent
nIn, nOut
activationFn, biasInit, biasUpdater, dist, gradientNormalization, gradientNormalizationThreshold, iUpdater, l1, l1Bias, l2, l2Bias, weightInit, weightNoise
constraints, iDropout, layerName
Modifier | Constructor and Description |
---|---|
protected |
AbstractLSTM(AbstractLSTM.Builder builder) |
Modifier and Type | Method and Description |
---|---|
double |
getL1ByParam(String paramName)
Get the L1 coefficient for the given parameter.
|
double |
getL2ByParam(String paramName)
Get the L2 coefficient for the given parameter.
|
getOutputType, getPreProcessorForInputType, isPretrain, setNIn
isPretrainParam
clone, getGradientNormalization, getUpdaterByParam, resetLayerDefaultConfig
getMemoryReport, initializeConstraints, initializer, instantiate, setPretrain
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGradientNormalizationThreshold, getLayerName
protected double forgetGateBiasInit
protected IActivation gateActivationFn
protected AbstractLSTM(AbstractLSTM.Builder builder)
public double getL1ByParam(String paramName)
Layer
getL1ByParam
in interface TrainingConfig
getL1ByParam
in class FeedForwardLayer
paramName
- Parameter namepublic double getL2ByParam(String paramName)
Layer
getL2ByParam
in interface TrainingConfig
getL2ByParam
in class FeedForwardLayer
paramName
- Parameter nameCopyright © 2018. All rights reserved.