public abstract class BaseLayer extends Layer implements Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
BaseLayer.Builder<T extends BaseLayer.Builder<T>> |
Modifier and Type | Field and Description |
---|---|
protected org.nd4j.linalg.activations.IActivation |
activationFn |
protected double |
adamMeanDecay
Deprecated.
|
protected double |
adamVarDecay
Deprecated.
|
protected double |
biasInit |
protected double |
biasLearningRate |
protected Distribution |
dist |
protected double |
epsilon
Deprecated.
|
protected GradientNormalization |
gradientNormalization |
protected double |
gradientNormalizationThreshold |
protected org.nd4j.linalg.learning.config.IUpdater |
iUpdater |
protected double |
l1 |
protected double |
l1Bias |
protected double |
l2 |
protected double |
l2Bias |
protected double |
learningRate |
protected Map<Integer,Double> |
learningRateSchedule |
protected double |
momentum
Deprecated.
|
protected Map<Integer,Double> |
momentumSchedule
Deprecated.
|
protected double |
rho
Deprecated.
|
protected double |
rmsDecay
Deprecated.
|
protected Updater |
updater
Deprecated.
|
protected WeightInit |
weightInit |
Constructor and Description |
---|
BaseLayer(BaseLayer.Builder builder) |
Modifier and Type | Method and Description |
---|---|
BaseLayer |
clone() |
org.nd4j.linalg.learning.config.IUpdater |
getIUpdaterByParam(String paramName)
Get the updater for the given parameter.
|
Updater |
getUpdaterByParam(String paramName)
Deprecated.
|
void |
resetLayerDefaultConfig()
Reset the learning related configs of the layer to default.
|
getL1ByParam, getL2ByParam, getLearningRateByParam, getMemoryReport, getOutputType, getPreProcessorForInputType, initializer, instantiate, isPretrainParam, setNIn
protected org.nd4j.linalg.activations.IActivation activationFn
protected WeightInit weightInit
protected double biasInit
protected Distribution dist
protected double learningRate
protected double biasLearningRate
@Deprecated protected double momentum
@Deprecated protected Map<Integer,Double> momentumSchedule
protected double l1
protected double l2
protected double l1Bias
protected double l2Bias
@Deprecated protected Updater updater
protected org.nd4j.linalg.learning.config.IUpdater iUpdater
@Deprecated protected double rho
@Deprecated protected double epsilon
@Deprecated protected double rmsDecay
@Deprecated protected double adamMeanDecay
@Deprecated protected double adamVarDecay
protected GradientNormalization gradientNormalization
protected double gradientNormalizationThreshold
public BaseLayer(BaseLayer.Builder builder)
public void resetLayerDefaultConfig()
resetLayerDefaultConfig
in class Layer
@Deprecated public Updater getUpdaterByParam(String paramName)
getIUpdaterByParam(String)
getUpdaterByParam
in class Layer
paramName
- Parameter namepublic org.nd4j.linalg.learning.config.IUpdater getIUpdaterByParam(String paramName)
getIUpdaterByParam
in class Layer
paramName
- Parameter nameCopyright © 2017. All rights reserved.