CombinedRegularizer¶
- class CombinedRegularizer(regularizers, device, total_weight=1.0, apply_only_once=False)[source]¶
Bases:
pykeen.regularizers.RegularizerA convex combination of regularizers.
Initializes internal Module state, shared by both nn.Module and ScriptModule.
Attributes Summary
Methods Summary
forward(x)Compute the regularization term for one tensor.
Attributes Documentation
- normalize¶
Methods Documentation