constraint_unitnorm | R Documentation |
Constrains the weights incident to each hidden unit to have unit norm.
constraint_unitnorm(axis = 1L)
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_minmaxnorm()
constraint_nonneg()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.