Modifier and Type | Method and Description |
---|---|
LayerConstraint |
LayerConstraint.clone() |
Modifier and Type | Field and Description |
---|---|
protected List<LayerConstraint> |
NeuralNetConfiguration.Builder.allParamConstraints |
protected List<LayerConstraint> |
NeuralNetConfiguration.Builder.biasConstraints |
protected List<LayerConstraint> |
NeuralNetConfiguration.Builder.weightConstraints |
Modifier and Type | Method and Description |
---|---|
NeuralNetConfiguration.Builder |
NeuralNetConfiguration.Builder.constrainAllParameters(LayerConstraint... constraints)
Set constraints to be applied to all layers.
|
NeuralNetConfiguration.Builder |
NeuralNetConfiguration.Builder.constrainBias(LayerConstraint... constraints)
Set constraints to be applied to all layers.
|
NeuralNetConfiguration.Builder |
NeuralNetConfiguration.Builder.constrainWeights(LayerConstraint... constraints)
Set constraints to be applied to all layers.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseConstraint |
class |
MaxNormConstraint
Constrain the maximum L2 norm of the incoming weights for each unit to be less than or equal to the specified value.
|
class |
MinMaxNormConstraint
Constrain the minimum AND maximum L2 norm of the incoming weights for each unit to be between the specified values.
|
class |
NonNegativeConstraint
Constrain the weights to be non-negative
|
class |
UnitNormConstraint
Constrain the L2 norm of the incoming weights for each unit to be 1.0
|
Modifier and Type | Field and Description |
---|---|
protected List<LayerConstraint> |
Layer.Builder.allParamConstraints |
protected List<LayerConstraint> |
BatchNormalization.Builder.betaConstraints |
protected List<LayerConstraint> |
Layer.Builder.biasConstraints |
protected List<LayerConstraint> |
Layer.constraints |
protected List<LayerConstraint> |
BatchNormalization.Builder.gammaConstraints |
protected List<LayerConstraint> |
BaseRecurrentLayer.Builder.inputWeightConstraints |
protected List<LayerConstraint> |
SeparableConvolution2D.Builder.pointWiseConstraints |
protected List<LayerConstraint> |
BaseRecurrentLayer.Builder.recurrentConstraints |
protected List<LayerConstraint> |
Layer.Builder.weightConstraints |
Modifier and Type | Method and Description |
---|---|
T |
Layer.Builder.constrainAllParameters(LayerConstraint... constraints)
Set constraints to be applied to this layer.
|
BatchNormalization.Builder |
BatchNormalization.Builder.constrainBeta(LayerConstraint... constraints)
Set constraints to be applied to the beta parameter of this batch normalisation layer.
|
T |
Layer.Builder.constrainBias(LayerConstraint... constraints)
Set constraints to be applied to bias parameters of this layer.
|
BatchNormalization.Builder |
BatchNormalization.Builder.constrainGamma(LayerConstraint... constraints)
Set constraints to be applied to the gamma parameter of this batch normalisation layer.
|
T |
BaseRecurrentLayer.Builder.constrainInputWeights(LayerConstraint... constraints)
Set constraints to be applied to the RNN input weight parameters of this layer.
|
SeparableConvolution2D.Builder |
SeparableConvolution2D.Builder.constrainPointWise(LayerConstraint... constraints)
Set constraints to be applied to the point-wise convolution weight parameters of this layer.
|
T |
BaseRecurrentLayer.Builder.constrainRecurrent(LayerConstraint... constraints)
Set constraints to be applied to the RNN recurrent weight parameters of this layer.
|
T |
Layer.Builder.constrainWeights(LayerConstraint... constraints)
Set constraints to be applied to the weight parameters of this layer.
|
Modifier and Type | Method and Description |
---|---|
static void |
LayerValidation.generalValidation(String layerName,
Layer layer,
IDropout iDropout,
double l2,
double l2Bias,
double l1,
double l1Bias,
Distribution dist,
List<LayerConstraint> allParamConstraints,
List<LayerConstraint> weightConstraints,
List<LayerConstraint> biasConstraints) |
static void |
LayerValidation.generalValidation(String layerName,
Layer layer,
IDropout iDropout,
double l2,
double l2Bias,
double l1,
double l1Bias,
Distribution dist,
List<LayerConstraint> allParamConstraints,
List<LayerConstraint> weightConstraints,
List<LayerConstraint> biasConstraints) |
static void |
LayerValidation.generalValidation(String layerName,
Layer layer,
IDropout iDropout,
double l2,
double l2Bias,
double l1,
double l1Bias,
Distribution dist,
List<LayerConstraint> allParamConstraints,
List<LayerConstraint> weightConstraints,
List<LayerConstraint> biasConstraints) |
static void |
LayerValidation.generalValidation(String layerName,
Layer layer,
IDropout iDropOut,
Double l2,
Double l2Bias,
Double l1,
Double l1Bias,
Distribution dist,
List<LayerConstraint> allParamConstraints,
List<LayerConstraint> weightConstraints,
List<LayerConstraint> biasConstraints) |
static void |
LayerValidation.generalValidation(String layerName,
Layer layer,
IDropout iDropOut,
Double l2,
Double l2Bias,
Double l1,
Double l1Bias,
Distribution dist,
List<LayerConstraint> allParamConstraints,
List<LayerConstraint> weightConstraints,
List<LayerConstraint> biasConstraints) |
static void |
LayerValidation.generalValidation(String layerName,
Layer layer,
IDropout iDropOut,
Double l2,
Double l2Bias,
Double l1,
Double l1Bias,
Distribution dist,
List<LayerConstraint> allParamConstraints,
List<LayerConstraint> weightConstraints,
List<LayerConstraint> biasConstraints) |
Modifier and Type | Method and Description |
---|---|
void |
FrozenLayerWithBackprop.setConstraints(List<LayerConstraint> constraints) |
void |
FrozenLayer.setConstraints(List<LayerConstraint> constraints) |
Modifier and Type | Field and Description |
---|---|
protected org.nd4j.linalg.primitives.Optional<List<LayerConstraint>> |
FineTuneConfiguration.constraints |
Modifier and Type | Method and Description |
---|---|
FineTuneConfiguration.Builder |
FineTuneConfiguration.Builder.constraints(List<LayerConstraint> constraints)
Set constraints to be applied to all layers.
|
Copyright © 2018. All rights reserved.