Save the date! Google I/O returns May 18-20 Register now

tf.keras.constraints.NonNeg

Constrains the weights to be non-negative.

Inherits From: Constraint

Also available via the shortcut function tf.keras.constraints.non_neg.

Methods

get_config

View source

__call__

View source

Call self as a function.