tf.keras.constraints.MaxNorm

View source on GitHub

MaxNorm weight constraint.

Inherits From: Constraint

tf.keras.constraints.MaxNorm(
    max_value=2, axis=0
)

Constrains the weights incident to each hidden unit to have a norm less than or equal to a desired value.

Arguments:

Methods

__call__

View source

__call__(
    w
)

Call self as a function.

get_config

View source

get_config()