MCPcopy Index your code
hub / github.com/pytorch/pytorch / CurrentNameScope

Function CurrentNameScope

caffe2/python/scope.py:21–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19
20
21def CurrentNameScope():
22 global _threadlocal_scope
23 if not hasattr(_threadlocal_scope, "namescope"):
24 _threadlocal_scope.namescope = ''
25 return _threadlocal_scope.namescope
26
27
28def CurrentDeviceScope():

Callers 2

NameScopeFunction · 0.85
EmptyNameScopeFunction · 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…