make_model_cls

make_model_cls(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) type[ERModel][source]

从交互类提示(名称或类)构建模型类。

Parameters:
Return type:

type[ERModel]