SingleCompGCNRepresentation
- class SingleCompGCNRepresentation(combined: CombinedCompGCNRepresentations, position: Literal['entity', 'relation'] = 'entity', shape: int | Sequence[int] | None = None, **kwargs)[source]
Bases:
Representation
A wrapper around the combined representation module.
Initialize the module.
- Parameters:
combined (CombinedCompGCNRepresentations) – The combined representations.
position (Literal['entity', 'relation']) – The position.
shape (OneOrSequence[int] | None) – The shape of an individual representation.
kwargs – Additional keyword-based parameters passed to
pykeen.nn.representation.Representation
.
- Raises:
ValueError – If an invalid value is given for the position.