MCPcopy Create free account
hub / github.com/OpenDriveLab/ReSim / worker_seed_sat

Function worker_seed_sat

SwissArmyTransformer/sat/data_utils/webds.py:53–54  ·  view source on GitHub ↗
(group=None, seed=0)

Source from the content-addressed store, hash-verified

51 return rank * 1000 + worker
52
53def worker_seed_sat(group=None, seed=0):
54 return pytorch_worker_seed(group=group) + seed * 23
55
56class ConfiguredResampledShards(ResampledShards):
57 def __init__(self, urls, seed, nshards=sys.maxsize, deterministic=True):

Callers

nothing calls this directly

Calls 1

pytorch_worker_seedFunction · 0.70

Tested by

no test coverage detected