public abstract static class AbstractSameDiffLayer.Builder<T extends AbstractSameDiffLayer.Builder<T>> extends Layer.Builder<T>
| Modifier and Type | Field and Description |
|---|---|
protected org.nd4j.linalg.learning.config.IUpdater |
biasUpdater |
protected double |
l1 |
protected double |
l1Bias |
protected double |
l2 |
protected double |
l2Bias |
protected org.nd4j.linalg.learning.config.IUpdater |
updater |
allParamConstraints, biasConstraints, iDropout, layerName, weightConstraints| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
T |
biasUpdater(org.nd4j.linalg.learning.config.IUpdater biasUpdater)
Gradient updater configuration, for the biases only.
|
T |
l1(double l1)
L1 regularization coefficient (weights only).
|
T |
l1Bias(double l1Bias)
L1 regularization coefficient for the bias.
|
T |
l2(double l2)
L2 regularization coefficient (weights only).
|
T |
l2Bias(double l2Bias)
L2 regularization coefficient for the bias.
|
T |
updater(org.nd4j.linalg.learning.config.IUpdater updater)
Gradient updater.
|
build, constrainAllParameters, constrainBias, constrainWeights, dropOut, dropOut, nameprotected double l1
protected double l2
protected double l1Bias
protected double l2Bias
protected org.nd4j.linalg.learning.config.IUpdater updater
protected org.nd4j.linalg.learning.config.IUpdater biasUpdater
public T l1(double l1)
l1Bias(double) to configure the l1 regularization
coefficient for the bias.public T l2(double l2)
l2Bias(double) to configure the l2 regularization
coefficient for the bias.public T l1Bias(double l1Bias)
l1(double)public T l2Bias(double l2Bias)
l2(double)public T updater(org.nd4j.linalg.learning.config.IUpdater updater)
Adam
or Nesterovsupdater - Updater to usepublic T biasUpdater(org.nd4j.linalg.learning.config.IUpdater biasUpdater)
updater(IUpdater)biasUpdater - Updater to use for bias parametersCopyright © 2018. All rights reserved.