Title says it all. Is there a way to compute a batch outer product. I noticed that pytorch conveniently has torch.ger which takes in two one-dimensional vectors and outputs there outer-product: (1, n) * (1, m) -> (n, m)

Is there a batch version of this operation? (b, n) * (b, m) -> (b, n, m)