KD$^{2}$M: An unifying framework for feature knowledge distillation