MCPcopy Index your code
hub / github.com/huggingface/diffusers / backend_manual_seed

Function backend_manual_seed

tests/testing_utils.py:1506–1507  ·  view source on GitHub ↗
(device: str, seed: int)

Source from the content-addressed store, hash-verified

1504
1505# These are callables which automatically dispatch the function specific to the accelerator
1506def backend_manual_seed(device: str, seed: int):
1507 return _device_agnostic_dispatch(device, BACKEND_MANUAL_SEED, seed)
1508
1509
1510def backend_synchronize(device: str):

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…