Shortcuts

Typedef torch::python::detail::PyModuleClass

Typedef Documentation

template<typename ModuleType>
using torch::python::detail::PyModuleClass = py::class_<ModuleType, torch::nn::Module, std::shared_ptr<ModuleType>>

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