Shortcuts

import_class

pybind11_ke.utils.import_class(module_and_class_name: str) type[源代码]

从模块中导入类。

参数:

module_and_class_name (str) – 模块和类名,如 pybind11_ke.module.model.TransE

返回:

类名

返回类型:

type

Docs

Access comprehensive developer documentation for Pybind11-OpenKE

View Docs