Tensor product (TP) model transformation