ocssw
V2022
|
GlobalRandomManager
Public Member Functions | |
def | __init__ (self, seed=None) |
def | __enter__ (self) |
def | __exit__ (self, *args, **kwargs) |
Public Attributes | |
seed | |
state | |
Detailed Description
Context manager to temporarily set the global random state for any methods which aren't using a seed or local random state.
Constructor & Destructor Documentation
◆ __init__()
Member Function Documentation
◆ __enter__()
◆ __exit__()
Member Data Documentation
◆ seed
◆ state
The documentation for this class was generated from the following file:
- /gfs-oceanweb/web/ocssw/ocssw_src/src/aquaverse/MDN/benchmarks/utils.py