tf.keras.constraints.NonNeg

Constrains the weights to be non-negative.

Inherits From: Constraint

Main aliases

tf.keras.constraints.non_neg

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.keras.constraints.NonNeg, tf.compat.v1.keras.constraints.non_neg

View source

__call__

View source

Call self as a function.