constraint_nonneg {keras3} | R Documentation |
Constrains the weights to be non-negative.
constraint_nonneg()
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_unitnorm()