Skip to content

Can I get the H and C states of the LSTM? #349

Description

Hi. I wish to build encoder and decoder model, but I don't know where the H and C states of the encoder are, and how to use them as the initial state of the decoder?

Pseudocode:
[outputs, stateH, stateC] = LSTM()
[outputs] = LSTM(initial_state=[stateH, stateC])

Thank you

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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