Shortcuts

tensordict.nn.get_functional

tensordict.nn.get_functional(module: nn.Module, funs_to_decorate: Iterable[str] | None = None) nn.Module

Converts a nn.Module to a functional module in-place, and returns a stateful version of this module that can be used in functional settings.

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