public abstract static class BaseOutputLayer.Builder<T extends BaseOutputLayer.Builder<T>> extends FeedForwardLayer.Builder<T>
| Modifier and Type | Field and Description |
|---|---|
protected ILossFunction |
lossFn
Loss function for the output layer
|
nIn, nOutactivationFn, biasInit, biasUpdater, gainInit, gradientNormalization, gradientNormalizationThreshold, iupdater, regularization, regularizationBias, weightInitFn, weightNoiseallParamConstraints, biasConstraints, iDropout, layerName, weightConstraints| Constructor and Description |
|---|
Builder() |
Builder(ILossFunction lossFunction) |
Builder(LossFunctions.LossFunction lossFunction) |
| Modifier and Type | Method and Description |
|---|---|
T |
hasBias(boolean hasBias)
If true (default): include bias parameters in the model.
|
T |
lossFunction(ILossFunction lossFunction) |
T |
lossFunction(LossFunctions.LossFunction lossFunction) |
nIn, nIn, nOut, nOut, unitsactivation, activation, biasInit, biasUpdater, dist, gainInit, gradientNormalization, gradientNormalizationThreshold, l1, l1Bias, l2, l2Bias, regularization, regularizationBias, updater, updater, weightDecay, weightDecay, weightDecayBias, weightDecayBias, weightInit, weightInit, weightInit, weightNoisebuild, constrainAllParameters, constrainBias, constrainWeights, dropOut, dropOut, nameprotected ILossFunction lossFn
public Builder()
public Builder(LossFunctions.LossFunction lossFunction)
lossFunction - Loss function for the output layerpublic Builder(ILossFunction lossFunction)
lossFunction - Loss function for the output layerpublic T lossFunction(LossFunctions.LossFunction lossFunction)
lossFunction - Loss function for the output layerpublic T hasBias(boolean hasBias)
hasBias - If true: include bias parameters in this modelpublic T lossFunction(ILossFunction lossFunction)
lossFunction - Loss function for the output layerCopyright © 2019. All rights reserved.