Skip to content

Commit

Permalink
amend
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens committed Dec 2, 2023
1 parent a61e925 commit 7e58cd8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion torchrl/modules/tensordict_module/rnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,6 @@ def _gru(self, x, hx):
return outputs, torch.stack(h_t, 0)

def forward(self, input, hx=None): # noqa: F811
self._update_flat_weights()
if input.dim() != 3:
raise ValueError(
f"GRU: Expected input to be 3D, got {input.dim()}D instead"
Expand Down

0 comments on commit 7e58cd8

Please sign in to comment.