You can update two Theano shared variables in the same Theano function. If you want two different updates to the same shared variable, it is up to you too combine them the way you want and give Theano just one update for that shared variable.
Le jeu. 15 juin 2017 04:55, Feras Almasri <[email protected]> a écrit : > Thanks Spastian, > > Inside the function is it possible to have two update ? > > > > On Thu, 15 Jun 2017 at 03:21, Frédéric Bastien <[email protected]> > wrote: > >> You can use only one Theano function. >> >> Fred >> >> Le mer. 14 juin 2017 06:32, Feras Almasri <[email protected]> a écrit : >> >>> Hello, >>> >>> Part of the network is shared between two cost function while the rest >>> not. Is it possible to use one theno function to run both updated in >>> parallel or it should be done in two different theano function? >>> >>> >>> >>> -- >>> >>> --- >>> >> 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. >>> >> -- >> >> --- >> > You received this message because you are subscribed to a topic in the >> Google Groups "theano-users" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/theano-users/dWahADLSke8/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. > > >> For more options, visit https://groups.google.com/d/optout. >> > -- > > --- > 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. > -- --- 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.
