Constrains the weights to be non-negative.
Inherits From: Constraint
View aliases
Main aliases
Compat aliases for migrationSee Migration guide for more details.
tf.compat.v1.keras.constraints.NonNeg
, tf.compat.v1.keras.constraints.non_neg
, `tf.compat.v2.keras.constraints.NonNeg`, `tf.compat.v2.keras.constraints.non_neg`
Methods
get_config
get_config()
__call__
__call__(
w
)
Call self as a function.