Shortcuts

Template Function torch::python::bind_module(py::module, const char *)

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)

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources