Module: tf.compat.v1.keras.regularizers

Built-in regularizers.

Classes

class L1: A regularizer that applies a L1 regularization penalty.

class L1L2: A regularizer that applies both L1 and L2 regularization penalties.

class L2: A regularizer that applies a L2 regularization penalty.

class Regularizer: Regularizer base class.

class l1: A regularizer that applies a L1 regularization penalty.

class l2: A regularizer that applies a L2 regularization penalty.

Functions

deserialize(...)

get(...): Retrieve a regularizer instance from a config or identifier.

l1_l2(...): Create a regularizer that applies both L1 and L2 penalties.

serialize(...)