From c8745cacdfda292800c21597c16d2d4de172f814 Mon Sep 17 00:00:00 2001 From: Hanna Date: Thu, 7 Nov 2024 13:47:18 +0100 Subject: [PATCH] added everything to API- Documenation --- doc/l2l.utils.rst | 23 +++++++++++++++++++++++ l2l/utils/experiment.py | 1 + 2 files changed, 24 insertions(+) diff --git a/doc/l2l.utils.rst b/doc/l2l.utils.rst index 1b4a0906..357c3089 100644 --- a/doc/l2l.utils.rst +++ b/doc/l2l.utils.rst @@ -24,3 +24,26 @@ ParamterGroup :members: :undoc-members: :show-inheritance: + +Environment +------------- + +.. autoclass:: l2l.utils.environment.Environment + :members: + :undoc-members: + :show-inheritance: + +Experiment +------------- + +.. autoclass:: l2l.utils.experiment.Experiment + :members: + :undoc-members: + :show-inheritance: + +Runner +------------- +.. autoclass:: l2l.utils.runner.Runner + :members: + :undoc-members: + :show-inheritance: \ No newline at end of file diff --git a/l2l/utils/experiment.py b/l2l/utils/experiment.py index 1938287b..66a1c21d 100644 --- a/l2l/utils/experiment.py +++ b/l2l/utils/experiment.py @@ -56,6 +56,7 @@ def prepare_experiment(self, **kwargs): Default runner parameters are: - srun: "" - exec: "python3 + self.paths.simulation_path/run_optimizee.py" + - max_workers: 32 - work_path: self.paths.root_dir_path, - paths_obj: self.paths """