unit8co/darts

Retrieve last hidden state for RNNModel and BlockRNNModel

Open

#1,649 opened on Mar 16, 2023

View on GitHub
 (2 comments) (1 reaction) (0 assignees)Python (6,832 stars) (762 forks)batch import
good first issueimprovement

Description

Is your feature request related to a current problem? Please describe. The last hidden state is an encoding of the information contained in the time series and is useful to retrieve in some projects.

Describe proposed solution Add a method that retrieve the last hidden state. Or maybe there is already an easy way to retrieve it? I couldn't find it.

Contributor guide