bioneuralnet.utils.reproducibility¶
Functions
|
Retrieves a global logger configured to write to 'bioneuralnet.log'. |
|
Sets seeds for maximum reproducibility across Python, NumPy, and PyTorch. |
- bioneuralnet.utils.reproducibility.set_seed(seed_value: int) None[source]¶
Sets seeds for maximum reproducibility across Python, NumPy, and PyTorch.
This function sets global random seeds and configures PyTorch/CUDNN to use deterministic algorithms, ensuring that the experiment produces the exact same numerical result across different runs.
- Parameters:
seed_value (int) – The integer value to use as the random seed.
- Returns:
None