MCPcopy Create free account
hub / github.com/GeWu-Lab/AnyTouch2 / random_seed

Function random_seed

train/main_objbench.py:38–41  ·  view source on GitHub ↗
(seed=0)

Source from the content-addressed store, hash-verified

36
37
38def random_seed(seed=0):
39 torch.manual_seed(seed)
40 np.random.seed(seed)
41 random.seed(seed)
42
43def main(args):
44

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected