constraint_minmaxnorm {keras3} | R Documentation |
MinMaxNorm weight constraint.
Description
Constrains the weights incident to each hidden unit to have the norm between a lower bound and an upper bound.
Usage
constraint_minmaxnorm(min_value = 0, max_value = 1, rate = 1, axis = 1L)
Arguments
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 |
Value
A Constraint
instance, a callable that can be passed to layer
constructors or used directly by calling it with tensors.
See Also
Other constraints:
Constraint()
constraint_maxnorm()
constraint_nonneg()
constraint_unitnorm()