MCPcopy Create free account
hub / github.com/OpenPPL/ppl.nn / RegisterVersion

Function RegisterVersion

python/utils/py_version.cc:22–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20namespace ppl { namespace nn { namespace python {
21
22void RegisterVersion(pybind11::module* m) {
23 m->attr("PPLNN_VERSION_MAJOR") = (uint32_t)PPLNN_VERSION_MAJOR;
24 m->attr("PPLNN_VERSION_MINOR") = (uint32_t)PPLNN_VERSION_MINOR;
25 m->attr("PPLNN_VERSION_PATCH") = (uint32_t)PPLNN_VERSION_PATCH;
26 m->attr("PPLNN_COMMIT_STR") = PPLNN_COMMIT_STR;
27}
28
29}}} // namespace ppl::nn::python

Callers 1

PYBIND11_MODULEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected