public static class CenterLossOutputLayer.Builder extends BaseOutputLayer.Builder<CenterLossOutputLayer.Builder>
| Modifier and Type | Field and Description |
|---|---|
protected double |
alpha |
protected boolean |
gradientCheck |
protected double |
lambda |
lossFnnIn, nOutactivationFn, biasInit, biasUpdater, dist, gradientNormalization, gradientNormalizationThreshold, iupdater, l1, l1Bias, l2, l2Bias, weightInit, weightNoiseallParamConstraints, biasConstraints, iDropout, layerName, weightConstraints| Constructor and Description |
|---|
Builder(org.nd4j.linalg.lossfunctions.ILossFunction lossFunction) |
Builder(org.nd4j.linalg.lossfunctions.LossFunctions.LossFunction lossFunction) |
| Modifier and Type | Method and Description |
|---|---|
CenterLossOutputLayer.Builder |
alpha(double alpha) |
CenterLossOutputLayer |
build() |
CenterLossOutputLayer.Builder |
gradientCheck(boolean isGradientCheck) |
CenterLossOutputLayer.Builder |
lambda(double lambda) |
hasBias, lossFunction, lossFunctionnIn, nOut, unitsactivation, activation, biasInit, biasUpdater, dist, gradientNormalization, gradientNormalizationThreshold, l1, l1Bias, l2, l2Bias, updater, updater, weightInit, weightInit, weightNoiseconstrainAllParameters, constrainBias, constrainWeights, dropOut, dropOut, nameprotected double alpha
protected double lambda
protected boolean gradientCheck
public Builder(org.nd4j.linalg.lossfunctions.LossFunctions.LossFunction lossFunction)
public Builder(org.nd4j.linalg.lossfunctions.ILossFunction lossFunction)
public CenterLossOutputLayer.Builder alpha(double alpha)
public CenterLossOutputLayer.Builder lambda(double lambda)
public CenterLossOutputLayer.Builder gradientCheck(boolean isGradientCheck)
public CenterLossOutputLayer build()
build in class Layer.Builder<CenterLossOutputLayer.Builder>Copyright © 2018. All rights reserved.