class_docstr: Create a Chi2 distribution object.
  Chi2(df) is equivalent to Gamma(shape=df / 2, scale=2)
  
  Parameters
  ----------
  df : Tensor or scalar, default 0
      Shape parameter of the distribution.
class_docstr_tok: ["Create","a","Chi2","distribution","object",".","Chi2","(","df",")","is","equivalent","to","Gamma","(","shape=df","\/","2",",","scale=2",")","Parameters","--","--","--","--","--","df",":","Tensor","or","scalar",",","default","0","Shape","parameter","of","the","distribution","."]
code: def df(self):
      return self.shape * 2
  
imports: from .gamma import Gamma
  from .constraint import Positive
label_desc: Use image node_id 2 for calling the Chi2 obj's underlying member method code with example usage: obj.df() and returns: unknown