d8eeb9641314740572e81f9836cbce3e5b8f2b73,rllib/tests/test_supported_spaces.py,ModelSupportedSpaces,test_ppo,#ModelSupportedSpaces#,203

Before Change


        check_support("IMPALA", {"num_gpus": 0}, self.stats)

    def test_ppo(self):
        check_support(
            "PPO", {
                "num_workers": 1,
                "num_sgd_iter": 1,
                "train_batch_size": 10,
                "sample_batch_size": 10,
                "sgd_minibatch_size": 1,
            },
            self.stats,
            check_bounds=True)

    def test_pg(self):
        check_support(
            "PG", {

After Change


        check_support("IMPALA", {"num_gpus": 0}, self.stats)

    def test_ppo(self):
        config = {
            "num_workers": 1,
            "num_sgd_iter": 1,
            "train_batch_size": 10,
            "sample_batch_size": 10,
            "sgd_minibatch_size": 1,
        }
        check_support("PPO", config, self.stats, check_bounds=True)
        config["use_pytorch"] = True
        check_support("PPO", config, self.stats, check_bounds=True)

    def test_pg(self):
        config = {
            "num_workers": 1,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


Project Name: ray-project/ray
Commit Name: d8eeb9641314740572e81f9836cbce3e5b8f2b73
Time: 2020-03-02
Author: sven@anyscale.io
File Name: rllib/tests/test_supported_spaces.py
Class Name: ModelSupportedSpaces
Method Name: test_ppo


Project Name: ray-project/ray
Commit Name: d8eeb9641314740572e81f9836cbce3e5b8f2b73
Time: 2020-03-02
Author: sven@anyscale.io
File Name: rllib/tests/test_supported_spaces.py
Class Name: ModelSupportedSpaces
Method Name: test_a3c


Project Name: ray-project/ray
Commit Name: d8eeb9641314740572e81f9836cbce3e5b8f2b73
Time: 2020-03-02
Author: sven@anyscale.io
File Name: rllib/tests/test_supported_spaces.py
Class Name: ModelSupportedSpaces
Method Name: test_pg