


wait for worker 0 to finish work, and then shutdown.
  >>> rpc.shutdown()




class torch.distributed.rpc.WorkerInfo
A structure that encapsulates information of a worker in the
   system. Contains the name and ID of the worker. This class is not
   meant to be constructed directly, rather, an instance can be
   retrieved through "get_worker_info()" and the result can be passed
   in to functions such as "rpc_sync()", "rpc_async()", "remote()" to
   avoid copying a string on every invocation.
property id
  Globally unique id to identify the worker.

property name
  The name of the worker.

The RPC package also provides decorators which allow applications to
specify how a given function should be treated on the callee side.
torch.distributed.rpc.functions.async_execution(fn)
A decorator for a function indicating that the return value of the
   function is guaranteed to be a "Future" object and this function