Shortcuts

torch.utils.set_module

torch.utils.set_module(obj, mod)[source]

Set the module attribute on a python object for a given object for nicer printing

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