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:
Raises:

ValueError – If an invalid value is given for the position.