Tensor Network Models for Structured Data