This repository was archived by the owner on Nov 17, 2023. It is now read-only.
How to implement many-to-one RNN (MXnet + Python)? #19741
Unanswered
nikudyshko
asked this question in
Q&A
Replies: 1 comment
-
The simplest approach is to use the rnn layer in Gluon. See https://mxnet.apache.org/versions/1.7.0/api/python/docs/api/gluon/rnn/index.html#mxnet.gluon.rnn.LSTM. The example attached in that API returns the outputs from every time step, and from that you can slice and get the output for one time-step and use that for later modeling (e.g. a dense layer as a classifier for sequence classification) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As a title says, maybe someone could give some information/advises on how to do this?
Beta Was this translation helpful? Give feedback.
All reactions