Skip to content

Commit

Permalink
amend
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens committed Jul 26, 2024
1 parent 4b3b09e commit e049f47
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions torchrl/modules/tensordict_module/rnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,6 @@ def make_tensordict_primer(self):
>>> from tensordict.nn import TensorDictSequential as Seq, TensorDictModule as Mod
>>>
>>> env = TransformedEnv(GymEnv("Pendulum-v1"), InitTracker())
>>> assert env.base_env.batch_locked
>>> lstm_module = LSTMModule(
... input_size=env.observation_spec["observation"].shape[-1],
... hidden_size=64,
Expand Down Expand Up @@ -1294,7 +1293,6 @@ def make_tensordict_primer(self):
>>> from tensordict.nn import TensorDictSequential as Seq, TensorDictModule as Mod
>>>
>>> env = TransformedEnv(GymEnv("Pendulum-v1"), InitTracker())
>>> assert env.base_env.batch_locked
>>> gru_module = GRUModule(
... input_size=env.observation_spec["observation"].shape[-1],
... hidden_size=64,
Expand Down

0 comments on commit e049f47

Please sign in to comment.