show-attend-and-tell
show-attend-and-tell copied to clipboard
why lstm recurse in fixed steps?
According to https://github.com/vanpersie32/show-attend-and-tell/blob/master/core/model.py#L160-L171, the model recurse in a fixed steps regardless of the length of the input sentence. If the sentence length is much smaller than the fixed steps, it is very time-consuming to do that. Is there any better way solving the problem?