Shortcuts

parse_tensor_dict_string

class tensordict.parse_tensor_dict_string(s: str)

Parse a TensorDict repr to a TensorDict.

Note

This functions is intended to be used for debugging, to reproduce a tensordict given its printed version, and should not be used in real applications.

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