t3_conversions#
Conversions between a (ragged) Tucker tensor train and other representations (dense tensor, flat vector, plain tensor train, canonical/CP factors).
Functions#
|
Fully contract a Tucker tensor train to create a dense tensor. |
|
Chain-contract (Tucker-absorbed) TT cores into a dense tensor -- the representation-agnostic core |
|
Converts T3 to a 1D vector containing all of the core entries. |
|
Constructs a T3 from a 1D vector containing the core entries |
Convert TuckerTensorTrain to tensor train by contracting Tucker bases with TT cores. |
|
|
Convert tensor train into Tucker tensor train by using identity matrices for Tucker bases. |
|
Constructs Tucker tensor train from Canonical decomposition. |