d6c01679db367d5fa0344bc03a9efc54e51c05cc,tf_agents/agents/ddpg/examples/v2/train_eval_rnn.py,,train_eval,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,70

Before Change


      )
      for _ in range(train_steps_per_iteration):
        experience, _ = next(iterator)
        train_loss = tf_agent.train(experience, train_step_counter=global_step)
      time_acc += time.time() - start_time

      if global_step.numpy() % log_interval == 0:
        logging.info("step = %d, loss = %f", global_step.numpy(),

After Change


      experience, _ = next(iterator)
      return tf_agent.train(experience, train_step_counter=global_step)

    if use_tf_functions:
      train_step = common.function(train_step)

    for _ in range(num_iterations):
      start_time = time.time()
      time_step, policy_state = collect_driver.run(
          time_step=time_step,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 5

Instances


Project Name: tensorflow/agents
Commit Name: d6c01679db367d5fa0344bc03a9efc54e51c05cc
Time: 2019-07-12
Author: oars@google.com
File Name: tf_agents/agents/ddpg/examples/v2/train_eval_rnn.py
Class Name:
Method Name: train_eval


Project Name: tensorflow/agents
Commit Name: d6c01679db367d5fa0344bc03a9efc54e51c05cc
Time: 2019-07-12
Author: oars@google.com
File Name: tf_agents/agents/sac/examples/v2/train_eval.py
Class Name:
Method Name: train_eval


Project Name: tensorflow/agents
Commit Name: d6c01679db367d5fa0344bc03a9efc54e51c05cc
Time: 2019-07-12
Author: oars@google.com
File Name: tf_agents/agents/dqn/examples/v2/train_eval.py
Class Name:
Method Name: train_eval


Project Name: tensorflow/agents
Commit Name: d6c01679db367d5fa0344bc03a9efc54e51c05cc
Time: 2019-07-12
Author: oars@google.com
File Name: tf_agents/agents/td3/examples/v2/train_eval.py
Class Name:
Method Name: train_eval


Project Name: tensorflow/agents
Commit Name: d6c01679db367d5fa0344bc03a9efc54e51c05cc
Time: 2019-07-12
Author: oars@google.com
File Name: tf_agents/agents/ddpg/examples/v2/train_eval.py
Class Name:
Method Name: train_eval


Project Name: tensorflow/agents
Commit Name: d6c01679db367d5fa0344bc03a9efc54e51c05cc
Time: 2019-07-12
Author: oars@google.com
File Name: tf_agents/agents/td3/examples/v2/train_eval_rnn.py
Class Name:
Method Name: train_eval