Module: tf.keras.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 OrthogonalRegularizer: Regularizer that encourages input vectors to be orthogonal to each other.

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.

class orthogonal_regularizer: Regularizer that encourages input vectors to be orthogonal to each other.

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(...)