T-Basis: a Compact Representation for Neural Networks