Combinations

Implementation of combinations for the pykeen.models.LiteralModel.

Classes

Combination(*args, **kwargs)

Base class for combinations.

ComplexSeparatedCombination([combination, ...])

A combination for mixed complex & real representations.

ConcatCombination([dim])

Combine representation by concatenation.

ConcatAggregationCombination([aggregation, ...])

Combine representation by concatenation followed by an aggregation along the same axis.

ConcatProjectionCombination(input_dims, ...)

Combine representations by concatenation follow by a linear projection and activation.

GatedCombination(entity_dim, literal_dim, ...)

A module that implements a gated linear transformation for the combination of entities and literals.

Variables

combination_resolver

Resolve combinations

Class Inheritance Diagram

Inheritance diagram of pykeen.nn.combination.Combination, pykeen.nn.combination.ComplexSeparatedCombination, pykeen.nn.combination.ConcatCombination, pykeen.nn.combination.ConcatAggregationCombination, pykeen.nn.combination.ConcatProjectionCombination, pykeen.nn.combination.GatedCombination