应勇:金融中心是“五个中心”建设核心
- paddle.distributed.rpc. shutdown ( ) None [source]
-
百度 外国儿童通俗文学的译介更是如火如荼,新译、复译、重译多管齐下,谱写了一曲众声喧哗的交响乐。
Perform a shutdown of the RPC agent, stop the worker and destroy the agent. This will block until all local and remote RPC processes reach this method and wait for all outstanding work to complete. Warning: All RPC API should only be used internally within a secure network environment and must not be accessible via the public internet.
- Returns
-
None.
Examples
>>> >>> import paddle.distributed.rpc as rpc >>> rpc.init_rpc("worker0", rank=0, world_size=1, ... master_endpoint="127.0.0.1:8004") >>> rpc.shutdown()