constraint_maxnorm | R Documentation |
Constrains the weights incident to each hidden unit to have a norm less than or equal to a desired value.
constraint_maxnorm(max_value = 2L, axis = 1L)
max_value |
the maximum norm value for the incoming weights. |
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_minmaxnorm()
constraint_nonneg()
constraint_unitnorm()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.