tmbdev / clstm

A small C++ implementation of LSTM networks, focused on OCR.
Apache License 2.0
821 stars 224 forks source link

how to generate multiple outputs for the same input string? #122

Open abhigarg opened 7 years ago

abhigarg commented 7 years ago

Is there a way to obtain multiple outputs for the same input string along with their associated probability values? I checked in the code but I could not find where and how one possible solution is discarded and another is retained. I know that for the last character the inputs and outputs for the previous characters are also considered. The forget gate will decide which previous input or its output is to be considered but is there a logical way of controlling forget gate in order to obtain other outputs?