API for Outer Product?


Is there an API (or accepted standard way) for an outer product in MXNet? So something similar to NumPy’s numpy.outer(), PyTorch’s torch.ger(), and TensorFlow’s tf.einsum()?

Appologies if I’ve missed something incredibly obvious.


I see that there is the mxnet.ndarray.khatri_rao() in release 1.1.0b20180211, but is there an easy way to get the outer product from that?

@dmadeka, given that it seems you developed this work-around do you have any advice here?