PySHAC v0.3.5.0
Changelog
Improvements
- All engines can now be locally seeded for deterministic behavior.
This can be done either with an engine level seed :
shac = pyshac.SHAC(...)
shac.set_seed(seed) # deterministic from now onwards
Or as a context level seed :
shac = pyshac.SHAC(...)
with shac.as_deterministic(seed): # deterministic within scope, reverts to random outside it.
...
Breaking Changes
np.random.seed(seed)
no longer seeds the engine.- The only way to make the engine deterministic is to use one of the above methods.