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

Function ScopedName

caffe2/python/core.py:318–322  ·  view source on GitHub ↗

prefix the name with the current scope.

(name)

Source from the content-addressed store, hash-verified

316
317
318def ScopedName(name):
319 """prefix the name with the current scope."""
320 if isinstance(name, bytes):
321 name = name.decode('ascii')
322 return scope.CurrentNameScope() + name
323
324
325def ScopedBlobReference(name, *args, **kwargs):

Callers 3

ScopedBlobReferenceFunction · 0.85
NextScopedBlobMethod · 0.85
scoped_execution_stepFunction · 0.85

Calls 2

isinstanceFunction · 0.85
decodeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…