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

Function RegisterSaveModelOptions

python/models/pmx/py_save_model_options.cc:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22namespace ppl { namespace nn { namespace python { namespace pmx {
23
24void RegisterSaveModelOptions(pybind11::module* m) {
25 pybind11::class_<PySaveModelOptions, PyModelOptionsBase>(*m, "SaveModelOptions")
26 .def(pybind11::init<>())
27 .def_readwrite("external_data_dir", &PySaveModelOptions::external_data_dir);
28}
29
30}}}} // namespace ppl::nn::python::pmx

Callers 1

PYBIND11_MODULEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected