CombinedRegularizer¶
-
class
CombinedRegularizer
(regularizers, total_weight=1.0, apply_only_once=False)[source]¶ Bases:
pykeen.regularizers.Regularizer
A convex combination of regularizers.
Instantiate the regularizer.
- Parameters
weight – The relative weight of the regularization
apply_only_once (
bool
) – Should the regularization be applied more than once after reset?parameters – Specific parameters to track. if none given, it’s expected that your model automatically delegates to the
update()
function.
Attributes Summary
Methods Summary
forward
(x)Compute the regularization term for one tensor.
Attributes Documentation
-
normalize
¶
Methods Documentation