aboutsummaryrefslogtreecommitdiff
path: root/doc/utils.rst
blob: cc3db41af83ae1d78e7ed2ad11e14093e93098cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Utils
=============

.. autoclass:: rumba.utils.ExperimentManager
   :member-order: bysource

Example usage of the class:

.. code-block:: python

   from rumba.utils import ExperimentManager, PROMPT_SWAPOUT

   with ExperimentManager(exp, swap_out_strategy=PROMPT_SWAPOUT):
       exp.swap_in()
       exp.bootstrap_prototype()