# Work

Source: https://www.tensorplay.cn/docs/generated/tensorplay.distributed.distributed_c10d.Work.html

# Work

class tensorplay.distributed.distributed_c10d.Work(event, done=None, tensors=None)[[source]](../_modules/tensorplay/distributed/distributed_c10d.html#Work)

Handle for an async collective (torch.distributed.Work subset).

get_future() mirrors c10d: it returns a tensorplay.futures.Future
resolving to the list of output tensors once the collective completes.
