Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/pytorch/pytorch
/ _context_registry
Function
_context_registry
caffe2/python/context.py:52–54 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
50
51
52
def
_context_registry():
53
global _CONTEXT_REGISTRY
54
return
_CONTEXT_REGISTRY
55
56
57
def
_get_managed_classes(obj):
Callers
3
current
Method · 0.85
__enter__
Method · 0.85
__exit__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…