Shortcuts

head_predict

unike.config.head_predict(batch: dict[str, Union[dgl.DGLGraph, torch.Tensor]], model: Model) tuple[torch.Tensor, ...][源代码]

进行头实体的链接预测。

参数:
返回:

正确三元组的排名

返回类型:

tuple[torch.Tensor, …]

Docs

Access comprehensive developer documentation for UniKE

View Docs