Skip to content

How to use Gru and Lstm when they require &mut? #763

Closed
@ArvidHammarlund

Description

How do you use GRU and LSTM when TrainStep's step function only can call borrowed (&self) methods of the module, while LSTM and GRU's forward passes require &mut?

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