I’m trying to calculate the similarity between two activation matrix of two different models following the Teacher Guided Architecture Search paper. My question is, does python has a native implementation of pdist similar to Scipy.spatial.distance.pdist? And a native application for Pearson correlation?