make_model
- make_model(dimensions, interaction, interaction_kwargs=None, entity_representations_kwargs=None, relation_representations_kwargs=None, **kwargs)[source]
Build a model from an interaction class hint (name or class).
- Return type
- Parameters
interaction (Union[str, Interaction[HeadRepresentation, RelationRepresentation, TailRepresentation], Type[Interaction[HeadRepresentation, RelationRepresentation, TailRepresentation]]]) –
entity_representations_kwargs (Optional[Mapping[str, Any]]) –
relation_representations_kwargs (Optional[Mapping[str, Any]]) –