"Fossies" - the Fresh Open Source Software Archive

Member "pytorch-1.8.2/docs/source/futures.rst" (23 Jul 2021, 615 Bytes) of package /linux/misc/pytorch-1.8.2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

torch.futures

torch.futures

Warning

The torch.futures package is experimental and subject to change.

This package provides a ~torch.futures.Future type that encapsulates an asynchronous execution and a set of utility functions to simplify operations on ~torch.futures.Future objects. Currently, the ~torch.futures.Future type is primarily used by the distributed-rpc-framework.

torch.futures

Future

collect_all

wait_all