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 |
biasInit |
protected org.nd4j.linalg.learning.config.IUpdater |
biasUpdater |
protected Distribution |
dist |
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 WeightInit |
weightInit |
protected IWeightNoise |
weightNoise |
constraints, iDropout, layerName| Constructor and Description |
|---|
BaseLayer(BaseLayer.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
BaseLayer |
clone() |
org.nd4j.linalg.learning.config.IUpdater |
getUpdaterByParam(String paramName)
Get the updater for the given parameter.
|
void |
resetLayerDefaultConfig()
Reset the learning related configs of the layer to default.
|
getL1ByParam, getL2ByParam, getMemoryReport, getOutputType, getPreProcessorForInputType, initializeConstraints, initializer, instantiate, isPretrainParam, setNInprotected org.nd4j.linalg.activations.IActivation activationFn
protected WeightInit weightInit
protected double biasInit
protected Distribution dist
protected double l1
protected double l2
protected double l1Bias
protected double l2Bias
protected org.nd4j.linalg.learning.config.IUpdater iUpdater
protected org.nd4j.linalg.learning.config.IUpdater biasUpdater
protected IWeightNoise weightNoise
protected GradientNormalization gradientNormalization
protected double gradientNormalizationThreshold
public BaseLayer(BaseLayer.Builder builder)
public void resetLayerDefaultConfig()
resetLayerDefaultConfig in class Layerpublic org.nd4j.linalg.learning.config.IUpdater getUpdaterByParam(String paramName)
getUpdaterByParam in class LayerparamName - Parameter nameCopyright © 2018. All rights reserved.