MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / wrapper

Function wrapper

tests/unit/common.py:579–581  ·  view source on GitHub ↗
(*args: Any, **kwargs: Any)

Source from the content-addressed store, hash-verified

577 def decorator(func: Callable) -> Callable:
578
579 def wrapper(*args: Any, **kwargs: Any):
580 with EnableDeterminism(seed):
581 return func(*args, **kwargs)
582
583 return wrapper
584

Callers

nothing calls this directly

Calls 2

EnableDeterminismClass · 0.85
funcFunction · 0.85

Tested by

no test coverage detected