stats

fun DTensor.stats(): Pair<DScalar, DScalar>

Compute the mean and variance of the data.