I would like to know how to add each element in two vectors with Theano?
Assume that we have two vector vector_1 and vecotr_2, and we would like to construct a matrix A, where
A[i][j] = vector_1[i] + vecotr_2[j]
I know that in numpy we can use list comprehension. But i would like to use Theano obtain the result with less time. It seems that Theano.scan() can do this job, but i really don't know how to deal with it.