flexs.baselines.explorers.environments.dyna_ppo¶
DyNA-PPO environment module.
-
class
flexs.baselines.explorers.environments.dyna_ppo.
DynaPPOEnvironment
(alphabet, seq_length, model, landscape, batch_size)[source]¶ Bases:
tf_agents.environments.py_environment.PyEnvironment
DyNA-PPO environment based on TF-Agents.
-
class
flexs.baselines.explorers.environments.dyna_ppo.
DynaPPOEnvironmentMutative
(alphabet, starting_seq, model, landscape, max_num_steps)[source]¶ Bases:
tf_agents.environments.py_environment.PyEnvironment
DyNA-PPO environment based on TF-Agents.
Note that unlike the other DynaPPO environment, this one is mutative rather than constructive.