Tensor decompositions

Hi all,

What’s the best way to incorporate tensor decompositions, eg the CANDECOMP-PARAFAC decomposition? (4. Tensor decomposition — TensorLy: Tensor Learning in Python). Can I use the tensor product functions from eg, tensorly, or should I roll my own?

Thanks!