22ccc43670dac93eb7fe81520a84cf3979d05693,rllib/agents/dqn/tests/test_dqn.py,TestDQN,test_dqn_parameter_noise_exploration,#TestDQN#,100

Before Change


        core_config["num_workers"] = 0  // Run locally.
        core_config["env_config"] = {"is_slippery": False, "map_name": "4x4"}

        for fw in framework_iterator(core_config, ["tf", "eager"]):

            config = core_config.copy()

After Change


            // the same action for the same input (parameter noise is
            // deterministic).
            policy = trainer.get_policy()
            p_sess = getattr(policy, "_sess", None)
            policy.exploration.on_episode_start(policy, tf_sess=p_sess)
            a_ = trainer.compute_action(obs)
            for _ in range(10):
                a = trainer.compute_action(obs, explore=True)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: ray-project/ray
Commit Name: 22ccc43670dac93eb7fe81520a84cf3979d05693
Time: 2020-04-06
Author: sven@anyscale.io
File Name: rllib/agents/dqn/tests/test_dqn.py
Class Name: TestDQN
Method Name: test_dqn_parameter_noise_exploration


Project Name: streamlit/streamlit
Commit Name: 92dba5a4d8aa1f531674370ded7d4ebaffbc979d
Time: 2018-04-06
Author: adrien.g.treuille@gmail.com
File Name: local/server/streamlit/local/io.py
Class Name:
Method Name:


Project Name: keras-team/keras
Commit Name: 82f9e2358c35c5bbff8714280174617ba29cf92b
Time: 2017-02-17
Author: francois.chollet@gmail.com
File Name: keras/engine/topology.py
Class Name: Layer
Method Name: _add_inbound_node