tf.keras.constraints.NonNeg

View source on GitHub

Class NonNeg

Constrains the weights to be non-negative.

Inherits From: Constraint

Aliases:

Methods

tf.keras.constraints.NonNeg.__call__

View source

__call__(w)

Call self as a function.

tf.keras.constraints.NonNeg.get_config

View source

get_config()