Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

tf.keras.constraints.NonNeg

TensorFlow 1 version View source on GitHub

Constrains the weights to be non-negative.

Inherits From: Constraint

Methods

__call__

View source

__call__(
    w
)

Call self as a function.

get_config

View source

get_config()