constraint_unitnorm {keras3} | R Documentation |
Constrains the weights incident to each hidden unit to have unit norm.
Description
Constrains the weights incident to each hidden unit to have unit norm.
Usage
constraint_unitnorm(axis = 1L)
Arguments
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_minmaxnorm()
constraint_nonneg()
[Package keras3 version 1.1.0 Index]