variance

fun variance(a: Tensor<*, *>, dim: Int? = null): Tensor<*, *>(source)

Variance of all elements, or variance along a dimension.