Missed TensorFlow World? Check out the recap. Learn more

tf.keras.constraints.NonNeg

TensorFlow 2 version View source on GitHub

Class NonNeg

Constrains the weights to be non-negative.

Inherits From: Constraint

Aliases:

Methods

__call__

View source

__call__(w)

Call self as a function.

get_config

View source

get_config()