garage.experiment.deterministic module

Utilities for ensuring that experiments are deterministic.

get_seed()[source]

Get the process-wide random seed.

Returns:The process-wide random seed
Return type:int
set_seed(seed)[source]

Set the process-wide random seed.

Parameters:seed (int) – A positive integer