class_docstr: Calculates the variance of a tensor, with an order. e.g.
  if `order = 1` then it will calculate sample variance.
  
  This is equal to mse / (n - order)
class_docstr_tok: ["Calculates","the","variance","of","a","tensor",",","with","an","order",".","e.g",".","if","`","order","=","1","`","then","it","will","calculate","sample","variance",".","This","is","equal","to","mse","\/","(","n","-","order",")"]
code: def init(self):
      self.mse = self._get_stat(MSE())
      self.n = self._get_stat(Count())
  
imports: from typing import Any, Callable, List, Optional, TYPE_CHECKING
  import torch
  from torch import Tensor
label_desc: Use image node_id 2 for calling the Var obj's underlying member method code with example usage: obj.init() without return types