Skip to content

Minor import typo #3119

@icarosadero

Description

@icarosadero

Just change the line

from torchrl.modules import MLP

to

from torchrl.modules import MLP, LSTMModule

So the example doesn't raise an exception.

https://github.com/pytorch/rl/blame/0592fdc56f400ba6feedbf7b3b77b992ac6b06e1/torchrl/modules/tensordict_module/rnn.py#L396

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions