MCPcopy 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

wrapperMethod · 0.70
scope_wrapperMethod · 0.70
GetContentFromProtoFunction · 0.70
runMethod · 0.70
_task_groupMethod · 0.70
__call__Method · 0.70
GetGraphPngSafeFunction · 0.70
benchFunction · 0.50
run_onceFunction · 0.50
run_once_functorchFunction · 0.50

Calls 1

fFunction · 0.50

Tested by 1

cuda_syncFunction · 0.40

Used in the wild real call sites across dependent graphs

searching dependent graphs…