Shortcuts

Utility Functions

DataPipe Graph Visualization

to_graph

Visualizes a DataPipe by returning a graphviz.Digraph, which is a graph of the data pipeline.

File Object and Stream Utility

StreamWrapper

StreamWrapper is introduced to wrap file handler generated by DataPipe operation like FileOpener.

DataLoader

For documentation related to DataLoader, please refer to the torch.utils.data documentation. Or, more specifically, the DataLoader API section.

DataLoader v2 is currently in development. You should see an update here by mid-2022.

Sampler

For documentation related to Sampler, please refer to the torch.utils.data documentation on Data Loading order. The Sampler API section is here.

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