Skip to content

Commit

Permalink
Removing unnecessary assignment
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 217288519
  • Loading branch information
mtthss committed Oct 17, 2018
1 parent 7b8a148 commit 219e285
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion trfl/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ py_library(
name = "retrace_ops",
srcs = ["retrace_ops.py"],
deps = [
":action_value_ops",
":base_ops",
":indexing_ops",
":sequence_ops",
# six dep,
# tensorflow dep,
Expand Down
2 changes: 1 addition & 1 deletion trfl/retrace_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ def retrace_core(lambda_,
(lambda_, q_tm1, a_tm1, r_t, pcont_t, target_policy_t, behaviour_policy_t,
targnet_q_t, a_t) = (
tf.convert_to_tensor(arg) for arg in all_args)
a_tm1 = a_tm1

# Evaluate importance weights.
c_t = _retrace_weights(
indexing_ops.batched_index(target_policy_t, a_t),
Expand Down

0 comments on commit 219e285

Please sign in to comment.