Device and method for implementing a tensor-train decomposition operationпатент