Lp_regularization
- KGE.constraint.Lp_regularization(X, p, axis)[source]
Standard Lp-regularization
The standard Lp-regularization:
- ..math ::
- regularization ~ term =
sum left| X right|_p^p
- Parameters
X (
tf.Tensor) – Tensor to be regularizedp (
int) – p-normaxis (
intortuple) – along what axis
- Returns
constraint term
- Return type
tf.Tensor