MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / backend_manual_seed

Function backend_manual_seed

diffusers/src/diffusers/utils/testing_utils.py:998–999  ·  view source on GitHub ↗
(device: str, seed: int)

Source from the content-addressed store, hash-verified

996
997# These are callables which automatically dispatch the function specific to the accelerator
998def backend_manual_seed(device: str, seed: int):
999 return _device_agnostic_dispatch(device, BACKEND_MANUAL_SEED, seed)
1000
1001
1002def backend_empty_cache(device: str):

Calls 1

Tested by

no test coverage detected