tf.contrib.distributions.Chi2.__init__(df, validate_args=False, allow_nan_stats=True, name='Chi2')
Construct Chi2 distributions with parameter df
.
Args:
-
df
: Floating point tensor, the degrees of freedom of the distribution(s).df
must contain only positive values. -
validate_args
:Boolean
, defaultFalse
. Whether to assert thatdf > 0
, and thatx > 0
in the methodsprob(x)
andlog_prob(x)
. Ifvalidate_args
isFalse
and the inputs are invalid, correct behavior is not guaranteed. -
allow_nan_stats
:Boolean
, defaultTrue
. IfFalse
, raise an exception if a statistic (e.g. mean/mode/etc...) is undefined for any batch member. IfTrue
, batch members with valid parameters leading to undefined statistics will return NaN for this statistic. -
name
: The name to prepend to all ops created by this distribution.
Please login to continue.