MCPcopy
hub / github.com/openai/guided-diffusion / func_wrapper

Function func_wrapper

guided_diffusion/logger.py:311–313  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

309
310 def decorator_with_name(func):
311 def func_wrapper(*args, **kwargs):
312 with profile_kv(n):
313 return func(*args, **kwargs)
314
315 return func_wrapper
316

Callers

nothing calls this directly

Calls 1

profile_kvFunction · 0.85

Tested by

no test coverage detected