Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pytorch/pytorch
/ func
Function
func
caffe2/python/utils.py:334–335 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
332
@functools.wraps(f)
333
def
wrapper(*args, **kwargs):
334
def
func():
335
return
f(*args, **kwargs)
336
return
DebugMode.run(func)
337
338
return
wrapper
Callers
15
wrapper
Method · 0.70
scope_wrapper
Method · 0.70
GetContentFromProto
Function · 0.70
GetContentFromProtoString
Function · 0.70
run
Method · 0.70
CallWithExceptionIntercept
Function · 0.70
_task_group
Method · 0.70
__call__
Method · 0.70
GetGraphPngSafe
Function · 0.70
bench
Function · 0.50
run_once
Function · 0.50
run_once_functorch
Function · 0.50
Calls
1
f
Function · 0.50
Tested by
1
cuda_sync
Function · 0.40
Used in the wild
real call sites across dependent graphs
searching dependent graphs…