Hi all,

I am reading through some theano code written by someone else (the actual 
file is here 
<https://github.com/joschu/modular_rl/blob/d1aeb866f4293d4458de1bc02a42e380289e9c43/modular_rl/core.py>
 
if you're curious but it shouldn't matter for this question).

I've noticed that the code uses two functions from theano: `add` and `sum`.

I found the theano.tensor.sum docs linked here 
<http://deeplearning.net/software/theano/library/tensor/basic.html?highlight=theano%20tensor%20sum#theano.tensor.sum>.
 
However, I surprisingly can't find any documentation for the `add` method 
(or even any existing questions here or on stack overflow). I know it seems 
obvious that the add method just sums up its arguments, but I just want to 
be extra sure. I'm also curious about if there's an alias, i.e. if 
`T.add(x,y)` is the same as `x+y` where `x` and `y` are theano variables. 
Finally, I'd also be curious about the differences between `add` and `sum` 
in theano.

Thanks.

-- 

--- 
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