Set evincing the ranks with respect to an embedded variety (symmetric tensor rank and tensor rank