Code
Hub
Trending
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/pytorch/pytorch
/ MyContext
Class
MyContext
caffe2/python/context_test.py:10–11 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
8
9
10
class
MyContext(context.Managed):
11
pass
12
13
class
DefaultMyContext(context.DefaultManaged):
14
pass
Callers
3
use_my_context
Method · 0.85
testNonDefaultCurrent
Method · 0.85
testNestedContexts
Method · 0.85
Calls
no outgoing calls
Tested by
3
use_my_context
Method · 0.68
testNonDefaultCurrent
Method · 0.68
testNestedContexts
Method · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…