ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

tf.keras.constraints.NonNeg

TensorFlow 2 version View source on GitHub

Constrains the weights to be non-negative.

Inherits From: Constraint

Methods

get_config

View source

__call__

View source

Call self as a function.