Torch.cov for covariance calculation

My Pytorch is 1.5.1,i am not able to use torch.cov in my code. is there any way to fix this problem.or any other method to find covariance of a distribution