Suppose I have a scan function within a main loop and I want to store the 
results for each iteration of the loop. So I have:
while condition:
results, updates=theano.scan(...etc...)
list_of_results.append(results)
return list_of_results

I find that if, at the end of the loop I pop the list and evaluate each 
entry to get a numpy variable, they all evaluate to the most resent results 
from the last time the scan function was called. Is there a way to avoid 
this? I don't want to have to evaluate the results each time within the 
loop because it makes my code incredibly slow. Any help would be very much 
appreciated.

Thank you,
Annie


-- 

--- 
You received this message because you are subscribed to the Google Groups 
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to