CombinedRegularizer
- class CombinedRegularizer(regularizers, total_weight=1.0, **kwargs)[source]
Bases:
pykeen.regularizers.RegularizerA convex combination of regularizers.
Initialize the regularizer.
- Parameters
regularizers (
Iterable[Regularizer]) – the base regularizerstotal_weight (
float) – the total regularization weight distributed to the base regularizers according to their individual weightskwargs – additional keyword-based parameters passed to
Regularizer.__init__()
Attributes Summary
Methods Summary
forward(x)Compute the regularization term for one tensor.
Attributes Documentation
- normalize
Methods Documentation