Does pytorch have function to calculate correlation coefficient matrix like numpy.corrcoef ()
Does pytorch have function to calculate correlation coefficient matrix like numpy.corrcoef ()

fastai (implemented heavily in pytorch) provides a suite of correlation coefficients including Pearson, Spearman, and Matthews (which probably is not what you want).  fastai's documentation lists all of the stored commands here. You can use them via hooks during Pytorch training.
