implements e * c and c * e
Description
If e is a matrix of embeddings and c is a matrix of coefficients then e * c is again a matrix of embeddings defined by
\[ [\mathrm{e * c}]_{j\ell} = \sum_{k} \mathrm{e}_{jk} \mathrm{c}_{k \ell}\]
Syntax
out = e * c
out = c * eInput
| e | embedding | 
| c | double | 
Output
| out | embedding |