public interface LayerConstraint extends Cloneable, Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
applyConstraint(Layer layer,
int iteration,
int epoch)
Apply a given constraint to a layer at each iteration
in the provided epoch, after parameters have been updated.
|
LayerConstraint |
clone() |
Set<String> |
getParams() |
void |
setParams(Set<String> params)
Set the parameters that this layer constraint should be applied to
|
void applyConstraint(Layer layer, int iteration, int epoch)
layer - org.deeplearning4j.nn.api.Layeriteration - given iteration as integerepoch - current epoch as integervoid setParams(Set<String> params)
params - Parameters that the layer constraint should be applied toSet<String> getParams()
LayerConstraint clone()
Copyright © 2020. All rights reserved.