1d4823c0ec446e93d00df8ca654db4b45b63b3d4,rllib/agents/ddpg/tests/test_ddpg.py,TestDDPG,test_ddpg_compilation,#TestDDPG#,12
Before Change
config["num_workers"] = 0 // Run locally.
// Test against all frameworks.
for fw in ["tf", "eager", "torch"] :
if fw != "tf":
continue
config["eager"] = True if fw == "eager" else False
config["use_pytorch"] = True if fw == "torch" else False
trainer = ddpg.DDPGTrainer(config=config, env="Pendulum-v0")
num_iterations = 2
for i in range(num_iterations):
results = trainer.train()
After Change
config["num_workers"] = 0 // Run locally.
// Test against all frameworks.
for _ in framework_iterator(config, "tf") :
trainer = ddpg.DDPGTrainer(config=config, env="Pendulum-v0")
num_iterations = 2
for i in range(num_iterations):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 9
Instances Project Name: ray-project/ray
Commit Name: 1d4823c0ec446e93d00df8ca654db4b45b63b3d4
Time: 2020-04-03
Author: sven@anyscale.io
File Name: rllib/agents/ddpg/tests/test_ddpg.py
Class Name: TestDDPG
Method Name: test_ddpg_compilation
Project Name: ray-project/ray
Commit Name: 1d4823c0ec446e93d00df8ca654db4b45b63b3d4
Time: 2020-04-03
Author: sven@anyscale.io
File Name: rllib/agents/ddpg/tests/test_ddpg.py
Class Name: TestDDPG
Method Name: test_ddpg_exploration_and_with_random_prerun
Project Name: ray-project/ray
Commit Name: 1d4823c0ec446e93d00df8ca654db4b45b63b3d4
Time: 2020-04-03
Author: sven@anyscale.io
File Name: rllib/agents/ddpg/tests/test_td3.py
Class Name: TestTD3
Method Name: test_td3_exploration_and_with_random_prerun