You need to incorporate scan's updates into the function updates if you use the RNG inside of scan (see this discussion <https://github.com/Theano/Theano/issues/1502>), another option is to generate all the random numbers before scan and pass them in.
On Wednesday, September 21, 2016 at 1:17:20 PM UTC-4, Peter Potash wrote: > > Hi, > > I'm implementing a variation of a Pointer Network, and I'd like to add > dropout to the hidden layers, but I'm having trouble using the random > number generator. Details are in this post: > http://stackoverflow.com/questions/39606372/dropout-in-scan-theano > > Thank You, > Peter > -- --- 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 theano-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.