Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaddlePaddle/Paddle
/ _init_parallel_ctx
Function
_init_parallel_ctx
python/paddle/distributed/parallel_helper.py:42–47 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
40
41
42
def
_init_parallel_ctx():
43
global __parallel_ctx__clz__
44
assert __parallel_ctx__clz__ is not None, (
45
"ParallelContext should be initialized."
46
)
47
__parallel_ctx__clz__.init()
48
49
50
def
_broadcast_parameters(parameters):
Callers
nothing calls this directly
Calls
1
init
Method · 0.45
Tested by
no test coverage detected