{"action":"closed","issue":{"url":"https://api.github.com/repos/fchollet/keras/issues/527","labels_url":"https://api.github.com/repos/fchollet/keras/issues/527/labels{/name}","comments_url":"https://api.github.com/repos/fchollet/keras/issues/527/comments","events_url":"https://api.github.com/repos/fchollet/keras/issues/527/events","html_url":"https://github.com/fchollet/keras/issues/527","id":100966141,"number":527,"title":"question on LSTM training and clear the memory state","user":{"login":"skicy","id":4925515,"avatar_url":"https://avatars.githubusercontent.com/u/4925515?v=3","gravatar_id":"","url":"https://api.github.com/users/skicy","html_url":"https://github.com/skicy","followers_url":"https://api.github.com/users/skicy/followers","following_url":"https://api.github.com/users/skicy/following{/other_user}","gists_url":"https://api.github.com/users/skicy/gists{/gist_id}","starred_url":"https://api.github.com/users/skicy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skicy/subscriptions","organizations_url":"https://api.github.com/users/skicy/orgs","repos_url":"https://api.github.com/users/skicy/repos","events_url":"https://api.github.com/users/skicy/events{/privacy}","received_events_url":"https://api.github.com/users/skicy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-14T08:59:27Z","updated_at":"2015-08-16T15:50:46Z","closed_at":"2015-08-16T15:50:46Z","body":"Hi,\r\n    My question is as below:\r\nI have an input vector, e.g., 100-d, and I need to feed the same vector into the LSTM multiple times, e.g., 5 times sequentially, and hopefully I can get 5 different outputs based on the input. How could I do this? Based on the input of LSTM layer, the input dimension is fixed, e.g. 100, how should I handle a 100*5 input based on sequential input?\r\n\r\nAlso, after one input, how should I manually clear the memory state inside the LSTM so that I can feed another (different) input vector to LSTM? \r\n\r\nMany thanks for the help."}}