Discussion:
[theano-users] Is it possible to run two different cost functions in parallel since they share part of the network ?
Feras Almasri
2017-06-14 10:31:59 UTC
Permalink
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 theano-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Frédéric Bastien
2017-06-15 01:21:16 UTC
Permalink
You can use only one Theano function.

Fred
Post by Feras Almasri
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
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 theano-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Feras Almasri
2017-06-15 08:55:16 UTC
Permalink
Thanks Spastian,

Inside the function is it possible to have two update ?
Post by Frédéric Bastien
You can use only one Theano function.
Fred
Post by Feras Almasri
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
Post by Feras Almasri
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
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
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 theano-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Frédéric Bastien
2017-06-19 22:16:20 UTC
Permalink
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.
Post by Feras Almasri
Thanks Spastian,
Inside the function is it possible to have two update ?
Post by Frédéric Bastien
You can use only one Theano function.
Fred
Post by Feras Almasri
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
Post by Feras Almasri
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to a topic in the
Post by Frédéric Bastien
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
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
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 theano-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...