tf.contrib.distributions.MultivariateNormalDiag.__init__(mu, diag_stdev, validate_args=False, allow_nan_stats=True, name='MultivariateNormalDiag')
Multivariate Normal distributions on R^k.
User must provide means mu and standard deviations diag_stdev. Each batch member represents a random vector (X_1,...,X_k) of independent random normals. The mean of X_i is mu[i], and the standard deviation is diag_stdev[i].
Args:
-
mu: RankN + 1floating point tensor with shape[N1,...,Nb, k],b >= 0. -
diag_stdev: RankN + 1Tensorwith samedtypeand shape asmu, representing the standard deviations. Must be positive. -
validate_args:Boolean, defaultFalse. Whether to validate input with asserts. Ifvalidate_argsisFalse, 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 give Ops created by the initializer.
Raises:
-
TypeError: Ifmuanddiag_stdevare different dtypes.
Please login to continue.