make_model

make_model(dimensions: int | Mapping[str, int], interaction: str | Interaction[HeadRepresentation, RelationRepresentation, TailRepresentation] | type[Interaction[HeadRepresentation, RelationRepresentation, TailRepresentation]], interaction_kwargs: Mapping[str, Any] | None = None, entity_representations_kwargs: Mapping[str, Any] | None = None, relation_representations_kwargs: Mapping[str, Any] | None = None, **kwargs) ERModel[source]

Build a model from an interaction class hint (name or class).

Parameters:
Return type:

ERModel