tensorly.tenalg.outer

outer(tensors)[source]

Returns a generalized outer product of the two tensors

Parameters:
tensor1tensor

of shape (J1, …, JN)

tensor2tensor

of shape (K1, …, KM)

Returns:
outer product of tensor1 and tensor2

of shape (J1, …, JN, K1, …, KM)