Hi,

I don’t know how should I call the function so I call it ‘multidimensional outer product’ :). The operation is as follows:

Given $n$ vectors $v_1, …, v_n$, a tensor T is the ‘multidimensional outer product’ of $v_1, …, v_n$ if

T[i_1, …, i_n] = v_1[i_1] * v_2[i_2] * … * v_n[i_n]

Does pytorch support this operation? If it does not then how should I implement it?

Thank you in advance