down votefavorite 
<http://stackoverflow.com/questions/40958983/how-to-use-batch-tensordot-in-theano-like-numpy-einsum#>

I have a tensor3 with shape (3, 4, 5) and another tensor4 with shape (3, 4, 
7, 5). 

In numpy,

 result = np.einsum("ijk, ijmk->ijm", tensor3, tensor4)
 print result.shape 
 (3, 4, 7)

but in theano , how to do it .

-- 

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