You do not need batched_dot for that operation, try tensordot instead.

On Thu, Oct 06, 2016, luke wrote:
> Hello all,
> 
> I am trying to accomplish the following multiplication: Y = batched_dot(X, 
> W)
> where X is of shape [b,f] and W is of shape [k,f,h], so that Y is of shape 
> [k,b,h].
> 
> So basically the matrix multiplication of X * W, iterated over the 
> dimension k.
> I know that batched_dot would work here if X was also 3D with a leading 
> dimension k, but i couldn't get it working so far.
> 
> 
> any ideas?
> 
> Luke
> 
> -- 
> 
> --- 
> 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.


-- 
Pascal

-- 

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