Skip to yearly menu bar Skip to main content


tntorch: Tensor Network Learning with PyTorch

Mikhail Usvyatsov · Rafael Ballester-Ripoll · Konrad Schindler

Keywords: [ JMLR ] [ Journal Track ]


We present tntorch, a tensor learning framework that supports multiple decompositions (including Candecomp/Parafac, Tucker, and Tensor Train) under a unified interface. With our library, the user can learn and handle low-rank tensors with automatic differentiation, seamless GPU support, and the convenience of PyTorch's API. Besides decomposition algorithms, tntorch implements differentiable tensor algebra, rank truncation, cross-approximation, batch processing, comprehensive tensor arithmetics, and more.

Chat is not available.