c7ad5ba6d05809db066b60bc3564201b66d2d51a,tf_agents/drivers/dynamic_step_driver_test.py,DynamicStepDriverTest,testMultiStepReplayBufferObservers,#DynamicStepDriverTest#,167

Before Change


    policy = driver_test_utils.TFPolicyMock(env.time_step_spec(),
                                            env.action_spec())
    policy_state = policy.get_initial_state(1)
    replay_buffer = make_replay_buffer(env)

    driver = dynamic_step_driver.DynamicStepDriver(
        env, policy, num_steps=6, observers=[replay_buffer.add_batch])

After Change


    policy = driver_test_utils.TFPolicyMock(env.time_step_spec(),
                                            env.action_spec())
    policy_state = policy.get_initial_state(1)
    replay_buffer = driver_test_utils.make_replay_buffer(policy)

    driver = dynamic_step_driver.DynamicStepDriver(
        env, policy, num_steps=6, observers=[replay_buffer.add_batch])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: tensorflow/agents
Commit Name: c7ad5ba6d05809db066b60bc3564201b66d2d51a
Time: 2018-12-10
Author: kgonina@google.com
File Name: tf_agents/drivers/dynamic_step_driver_test.py
Class Name: DynamicStepDriverTest
Method Name: testMultiStepReplayBufferObservers


Project Name: tensorflow/agents
Commit Name: c7ad5ba6d05809db066b60bc3564201b66d2d51a
Time: 2018-12-10
Author: kgonina@google.com
File Name: tf_agents/drivers/dynamic_episode_driver_test.py
Class Name: DynamicEpisodeDriverTest
Method Name: testOneStepReplayBufferObservers


Project Name: tensorflow/agents
Commit Name: c7ad5ba6d05809db066b60bc3564201b66d2d51a
Time: 2018-12-10
Author: kgonina@google.com
File Name: tf_agents/drivers/dynamic_episode_driver_test.py
Class Name: DynamicEpisodeDriverTest
Method Name: testMultiStepReplayBufferObservers


Project Name: tensorflow/agents
Commit Name: c7ad5ba6d05809db066b60bc3564201b66d2d51a
Time: 2018-12-10
Author: kgonina@google.com
File Name: tf_agents/drivers/dynamic_step_driver_test.py
Class Name: DynamicStepDriverTest
Method Name: testOneStepReplayBufferObservers