Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

lstm python seems not correct in backward #4057

@zhenlinluo

Description

@zhenlinluo

@piiswrong @sxjscience ,

If you look at lstm python implementation in example, the backward seems is wrong for dCt calculation. Especially dCt should += rather than = dht * dot * (1-exp(tanCt)).

But I don't know how to correct it in python implementation. Any idea?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions