Classification of tensor decompositions for II$_1$ factors