show-attend-and-tell icon indicating copy to clipboard operation
show-attend-and-tell copied to clipboard

why lstm recurse in fixed steps?

Open vanpersie32 opened this issue 6 years ago • 0 comments

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?

vanpersie32 avatar Sep 09 '17 09:09 vanpersie32