Skip to content

Commit

Permalink
LSTMModule test
Browse files Browse the repository at this point in the history
  • Loading branch information
albertbou92 committed Nov 29, 2023
1 parent 311078d commit 5910811
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/test_tensordictmodules.py
Original file line number Diff line number Diff line change
Expand Up @@ -1672,8 +1672,7 @@ def test_noncontiguous(self):
lstm_module(padded)

@pytest.mark.parametrize("shape", [[], [2], [2, 3], [2, 3, 4]])
@pytest.mark.parametrize("python_based", [True, False])
def test_singel_step(self, shape, python_based):
def test_single_step(self, shape, python_based):
td = TensorDict(
{
"observation": torch.zeros(*shape, 3),
Expand Down

0 comments on commit 5910811

Please sign in to comment.