check rank of data structures only if tensors
for arrays, rank is not applicable, so it should not be checked
En prévision de l'arrivée de la forge institutionnelle INRAE, nous vous invitons à créer vos nouveaux projets sur la forge MIA.
for arrays, rank is not applicable, so it should not be checked