I have two tensors. t1 of shape NxD and t2 of shape MxD.
I want to get tensor t3 of shape NxMXD in which t3[n,m,:] = t1[n,:] * t2[m,:], being * the element-wise multiplication.
Is there an efficient way to do this? I can do it with fors but I need a better way to do it.
Thank you very much.
Ben