You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.
I am not following why the nested function needs to be executed 10x. Given that you are calling Memory inside the for loop, it reinitializes the state, such that the output will always be the same.
Because before that commit, the memory block produces wrong output with a random probability. I have to make sure it always produces the expected output.
Describe the Bug
I believe that test is intended to evaluate the Memory function for 10 batches of sentences (or the same sentence for 10 epochs).
The current implementation initializes the Model 10x instead of initializing one model and evaluating 10 batches.
Version Info
Minimal Codes To Reproduce
NA
I think the recommended change is to shift the model instantiation outside of the for loop.
The text was updated successfully, but these errors were encountered: