Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens committed Apr 23, 2024
1 parent 7dd0128 commit 0889a5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -10583,6 +10583,7 @@ def test_multistep_transform(self):

outs_2 = []
td = env.reset().contiguous()
assert "reward" not in td
for _ in range(1):
rollout = env.rollout(
250, auto_reset=False, tensordict=td, break_when_any_done=False
Expand Down Expand Up @@ -10626,7 +10627,7 @@ def test_multistep_transform(self):
).contiguous()
assert "reward" not in rollout.keys()
out = t._inv_call(rollout)
td = rollout[..., -1]["next"]
td = rollout[..., -1]["next"].exclude("reward")
if out is not None:
outs_3.append(out)

Expand Down

0 comments on commit 0889a5b

Please sign in to comment.