Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/pytorch
/ GlobalInit
Function
GlobalInit
caffe2/python/core.py:91–94 ·
view source on GitHub ↗
(args)
Source
from the content-addressed store, hash-verified
89
90
91
def
GlobalInit(args):
92
TriggerLazyImport()
93
_GLOBAL_INIT_ARGS.extend(args[1:])
94
C.global_init(args)
95
96
97
def
GetGlobalInitArgs():
Callers
nothing calls this directly
Calls
2
TriggerLazyImport
Function · 0.90
extend
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…