MCPcopy 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
52def _context_registry():
53 global _CONTEXT_REGISTRY
54 return _CONTEXT_REGISTRY
55
56
57def _get_managed_classes(obj):

Callers 3

currentMethod · 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…