Template Function torch::python::bind_module(py::module, const char *)¶
Defined in File python.h
Function Documentation¶
Warning
doxygenfunction: Unable to resolve function “torch::python::bind_module” with arguments (py::module, const char*) in doxygen xml output for project “PyTorch” from directory: /var/lib/jenkins/workspace/docs/cpp/build/xml. Potential matches:
- template<typename ModuleType, bool force_enable = false> std::enable_if_t<!torch::detail::has_forward<ModuleType>::value || force_enable, detail::PyModuleClass<ModuleType>> bind_module(py::module module, const char *name)
- template<typename ModuleType, typename = std::enable_if_t<torch::detail::has_forward<ModuleType>::value>> detail::PyModuleClass<ModuleType> bind_module(py::module module, const char *name)