d8eeb9641314740572e81f9836cbce3e5b8f2b73,rllib/tests/test_supported_spaces.py,ModelSupportedSpaces,test_a3c,#ModelSupportedSpaces#,146

Before Change


        ray.shutdown()

    def test_a3c(self):
        check_support(
            "A3C", {
                "num_workers": 1,
                "optimizer": {
                    "grads_per_step": 1
                }
            },
            self.stats,
            check_bounds=True)

    def test_appo(self):
        check_support("APPO", {"num_gpus": 0, "vtrace": False}, self.stats)
        check_support(

After Change


        ray.shutdown()

    def test_a3c(self):
        config = {
            "num_workers": 1,
            "optimizer": {
                "grads_per_step": 1
            }
        }
        check_support("A3C", config, self.stats, check_bounds=True)
        config["use_pytorch"] = True
        check_support("A3C", config, self.stats, check_bounds=True)

    def test_appo(self):
        check_support("APPO", {"num_gpus": 0, "vtrace": False}, self.stats)
        check_support(
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_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


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