Calculate variance of a distribution

Hey there,

I have an MxN tensor where M is the number of points and N is the number of dimensions. Every row represents a point in a N-dimensional space. I want to calculate variance of the distribution of the points I have in this tensor. How would I go about doing that?

Thanks!