public abstract class BasePretrainNetwork extends FeedForwardLayer
Modifier and Type | Class and Description |
---|---|
static class |
BasePretrainNetwork.Builder<T extends BasePretrainNetwork.Builder<T>> |
Modifier and Type | Field and Description |
---|---|
protected String |
customLossFunction
Deprecated.
|
protected org.nd4j.linalg.lossfunctions.LossFunctions.LossFunction |
lossFunction |
protected double |
visibleBiasInit |
nIn, nOut
activationFn, adamMeanDecay, adamVarDecay, biasInit, biasL1, biasL2, biasLearningRate, dist, dropOut, epsilon, gradientNormalization, gradientNormalizationThreshold, l1, l2, layerName, learningRate, learningRateSchedule, momentum, momentumSchedule, rho, rmsDecay, updater, weightInit
Constructor and Description |
---|
BasePretrainNetwork(BasePretrainNetwork.Builder builder) |
Modifier and Type | Method and Description |
---|---|
double |
getL1ByParam(String paramName)
Get the L1 coefficient for the given parameter.
|
double |
getL2ByParam(String paramName)
Get the L2 coefficient for the given parameter.
|
double |
getLearningRateByParam(String paramName)
Get the (initial) learning rate coefficient for the given parameter.
|
getOutputType, getPreProcessorForInputType, setNIn
clone, getUpdaterByParam, initializer, instantiate
protected org.nd4j.linalg.lossfunctions.LossFunctions.LossFunction lossFunction
@Deprecated protected String customLossFunction
protected double visibleBiasInit
public BasePretrainNetwork(BasePretrainNetwork.Builder builder)
public double getL1ByParam(String paramName)
Layer
getL1ByParam
in class FeedForwardLayer
paramName
- Parameter namepublic double getL2ByParam(String paramName)
Layer
getL2ByParam
in class FeedForwardLayer
paramName
- Parameter namepublic double getLearningRateByParam(String paramName)
Layer
getLearningRateByParam
in class FeedForwardLayer
paramName
- Parameter nameCopyright © 2016. All Rights Reserved.