constraint_minmaxnorm | R Documentation |
Constrains the weights incident to each hidden unit to have the norm between a lower bound and an upper bound.
constraint_minmaxnorm(min_value = 0, max_value = 1, rate = 1, axis = 1L)
min_value |
the minimum norm for the incoming weights. |
max_value |
the maximum norm for the incoming weights. |
rate |
rate for enforcing the constraint: weights will be
rescaled to yield
op_clip?
|
axis |
integer, axis along which to calculate weight norms.
For instance, in a |
A Constraint
instance, a callable that can be passed to layer
constructors or used directly by calling it with tensors.
Other constraints:
Constraint()
constraint_maxnorm()
constraint_nonneg()
constraint_unitnorm()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.