Skip to content

Incorrect LSTM backward pass implementation (iterates over input features instead of time steps) #95

@amedoc

Description

@amedoc

Hi,
Thanks for the huge effort on the project. However, there is a minor mistake in the LSTM node.
The current LSTM implementation seems to handle the backward pass incorrectly. After generated the code for the reverse direction, it should iterate over the time sequence dimension ("s" variable in the implementation), not the input features ("di"). This leads to wrong outputs for bidirectional or reverse LSTMs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions