aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-01-27 17:18:11 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-01-27 17:30:50 -0800
commit9d7899f99267727e65e0a8183f30cab24bef5536 (patch)
tree860257faf02961358ea82541012251c771b72908
parent333b7ce7299a0a46f7c22810527160bb115fe0f8 (diff)
Update generated Python Op docs.
Change: 145855001
-rw-r--r--tensorflow/g3doc/api_docs/python/contrib.distributions.md3225
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.contrib.distributions.Bernoulli.md84
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.contrib.distributions.Chi2WithAbsDf.md84
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.contrib.distributions.Dirichlet.md84
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.contrib.distributions.Distribution.md84
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.contrib.distributions.MultivariateNormalCholesky.md84
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.contrib.distributions.MultivariateNormalDiag.md84
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.contrib.distributions.QuantizedDistribution.md84
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.contrib.distributions.StudentT.md85
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.contrib.distributions.TransformedDistribution.md84
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.contrib.distributions.Categorical.md84
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.contrib.distributions.Chi2.md84
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.contrib.distributions.ConditionalDistribution.md84
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.contrib.distributions.Uniform.md84
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.contrib.distributions.WishartCholesky.md84
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.BetaWithSoftplusAB.md84
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.Binomial.md84
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.DirichletMultinomial.md109
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.Exponential.md84
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.Gamma.md84
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.GammaWithSoftplusAlphaBeta.md84
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.InverseGamma.md85
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.InverseGammaWithSoftplusAlphaBeta.md85
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.Multinomial.md88
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.MultivariateNormalDiagPlusVDVT.md84
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard6/tf.contrib.distributions.BernoulliWithSigmoidProbs.md84
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard6/tf.contrib.distributions.Beta.md84
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard6/tf.contrib.distributions.Laplace.md84
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard6/tf.contrib.distributions.LaplaceWithSoftplusScale.md84
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard6/tf.contrib.distributions.StudentTWithAbsDfSoftplusSigma.md85
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard7/tf.contrib.distributions.ConditionalTransformedDistribution.md84
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard7/tf.contrib.distributions.ExponentialWithSoftplusLam.md84
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard7/tf.contrib.distributions.MultivariateNormalFull.md84
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard7/tf.contrib.distributions.Normal.md84
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard8/tf.contrib.distributions.Mixture.md84
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard8/tf.contrib.distributions.NormalWithSoftplusSigma.md84
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.contrib.distributions.MultivariateNormalDiagWithSoftplusStDev.md84
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.contrib.distributions.Poisson.md84
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.contrib.distributions.WishartFull.md84
39 files changed, 6420 insertions, 30 deletions
diff --git a/tensorflow/g3doc/api_docs/python/contrib.distributions.md b/tensorflow/g3doc/api_docs/python/contrib.distributions.md
index 896e9fd6c0..12465088d4 100644
--- a/tensorflow/g3doc/api_docs/python/contrib.distributions.md
+++ b/tensorflow/g3doc/api_docs/python/contrib.distributions.md
@@ -309,6 +309,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Distribution.covariance(name='covariance')` {#Distribution.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Distribution.dtype` {#Distribution.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -724,6 +768,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -764,6 +828,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
@@ -960,6 +1044,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Binomial.covariance(name='covariance')` {#Binomial.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Binomial.dtype` {#Binomial.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -1422,6 +1550,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -1469,6 +1617,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -1604,6 +1772,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Bernoulli.covariance(name='covariance')` {#Bernoulli.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Bernoulli.dtype` {#Bernoulli.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -2037,6 +2249,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -2077,6 +2309,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -2182,6 +2434,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.BernoulliWithSigmoidProbs.covariance(name='covariance')` {#BernoulliWithSigmoidProbs.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.BernoulliWithSigmoidProbs.dtype` {#BernoulliWithSigmoidProbs.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -2615,6 +2911,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -2655,6 +2971,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -2870,6 +3206,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Beta.covariance(name='covariance')` {#Beta.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Beta.dtype` {#Beta.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -3308,6 +3688,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -3348,6 +3748,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -3474,6 +3894,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.BetaWithSoftplusAB.covariance(name='covariance')` {#BetaWithSoftplusAB.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.BetaWithSoftplusAB.dtype` {#BetaWithSoftplusAB.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -3912,6 +4376,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -3952,6 +4436,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -4120,6 +4624,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Categorical.covariance(name='covariance')` {#Categorical.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Categorical.dtype` {#Categorical.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -4558,6 +5106,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -4598,6 +5166,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -4739,6 +5327,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Chi2.covariance(name='covariance')` {#Chi2.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Chi2.df` {#Chi2.df}
@@ -5178,6 +5810,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -5218,6 +5870,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -5337,6 +6009,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Chi2WithAbsDf.covariance(name='covariance')` {#Chi2WithAbsDf.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Chi2WithAbsDf.df` {#Chi2WithAbsDf.df}
@@ -5776,6 +6492,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -5816,6 +6552,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -5957,6 +6713,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Exponential.covariance(name='covariance')` {#Exponential.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Exponential.dtype` {#Exponential.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -6396,6 +7196,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -6436,6 +7256,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -6555,6 +7395,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.ExponentialWithSoftplusLam.covariance(name='covariance')` {#ExponentialWithSoftplusLam.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.ExponentialWithSoftplusLam.dtype` {#ExponentialWithSoftplusLam.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -6994,6 +7878,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -7034,6 +7938,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -7202,6 +8126,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Gamma.covariance(name='covariance')` {#Gamma.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Gamma.dtype` {#Gamma.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -7634,6 +8602,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -7674,6 +8662,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -7793,6 +8801,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.GammaWithSoftplusAlphaBeta.covariance(name='covariance')` {#GammaWithSoftplusAlphaBeta.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.GammaWithSoftplusAlphaBeta.dtype` {#GammaWithSoftplusAlphaBeta.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -8225,6 +9277,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -8265,6 +9337,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -8429,6 +9521,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.InverseGamma.covariance(name='covariance')` {#InverseGamma.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.InverseGamma.dtype` {#InverseGamma.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -8865,6 +10001,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -8905,12 +10061,33 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+
Additional documentation from `InverseGamma`:
Variance for inverse gamma is defined only for `alpha > 2`. If
`self.allow_nan_stats` is `False`, an exception will be raised rather
than returning `NaN`.
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -9030,6 +10207,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.InverseGammaWithSoftplusAlphaBeta.covariance(name='covariance')` {#InverseGammaWithSoftplusAlphaBeta.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.InverseGammaWithSoftplusAlphaBeta.dtype` {#InverseGammaWithSoftplusAlphaBeta.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -9466,6 +10687,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -9506,12 +10747,33 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+
Additional documentation from `InverseGamma`:
Variance for inverse gamma is defined only for `alpha > 2`. If
`self.allow_nan_stats` is `False`, an exception will be raised rather
than returning `NaN`.
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -9650,6 +10912,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Laplace.covariance(name='covariance')` {#Laplace.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Laplace.dtype` {#Laplace.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -10079,6 +11385,26 @@ Distribution parameter for scale.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -10119,6 +11445,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -10224,6 +11570,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.LaplaceWithSoftplusScale.covariance(name='covariance')` {#LaplaceWithSoftplusScale.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.LaplaceWithSoftplusScale.dtype` {#LaplaceWithSoftplusScale.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -10653,6 +12043,26 @@ Distribution parameter for scale.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -10693,6 +12103,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -10862,6 +12292,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Normal.covariance(name='covariance')` {#Normal.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Normal.dtype` {#Normal.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -11291,6 +12765,26 @@ Distribution parameter for standard deviation.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -11331,6 +12825,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -11436,6 +12950,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.NormalWithSoftplusSigma.covariance(name='covariance')` {#NormalWithSoftplusSigma.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.NormalWithSoftplusSigma.dtype` {#NormalWithSoftplusSigma.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -11865,6 +13423,26 @@ Distribution parameter for standard deviation.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -11905,6 +13483,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -12034,6 +13632,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Poisson.covariance(name='covariance')` {#Poisson.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Poisson.dtype` {#Poisson.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -12476,6 +14118,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -12516,6 +14178,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -12704,6 +14386,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.StudentT.covariance(name='covariance')` {#StudentT.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.StudentT.df` {#StudentT.df}
Degrees of freedom in these Student's t distribution(s).
@@ -13146,6 +14872,26 @@ Scaling factors of these Student's t distribution(s).
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -13186,6 +14932,16 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+
Additional documentation from `StudentT`:
The variance for Student's T equals
@@ -13196,6 +14952,17 @@ infinity, when 1 < df <= 2
NaN, when df <= 1
```
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -13301,6 +15068,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.StudentTWithAbsDfSoftplusSigma.covariance(name='covariance')` {#StudentTWithAbsDfSoftplusSigma.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.StudentTWithAbsDfSoftplusSigma.df` {#StudentTWithAbsDfSoftplusSigma.df}
Degrees of freedom in these Student's t distribution(s).
@@ -13743,6 +15554,26 @@ Scaling factors of these Student's t distribution(s).
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -13783,6 +15614,16 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+
Additional documentation from `StudentT`:
The variance for Student's T equals
@@ -13793,6 +15634,17 @@ infinity, when 1 < df <= 2
NaN, when df <= 1
```
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -13954,6 +15806,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Uniform.covariance(name='covariance')` {#Uniform.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Uniform.dtype` {#Uniform.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -14376,6 +16272,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -14416,6 +16332,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
@@ -14596,6 +16532,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.MultivariateNormalDiag.covariance(name='covariance')` {#MultivariateNormalDiag.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.MultivariateNormalDiag.dtype` {#MultivariateNormalDiag.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -15071,6 +17051,26 @@ Determinant of covariance matrix.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -15111,6 +17111,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -15277,6 +17297,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.MultivariateNormalFull.covariance(name='covariance')` {#MultivariateNormalFull.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.MultivariateNormalFull.dtype` {#MultivariateNormalFull.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -15752,6 +17816,26 @@ Determinant of covariance matrix.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -15792,6 +17876,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -15967,6 +18071,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.MultivariateNormalCholesky.covariance(name='covariance')` {#MultivariateNormalCholesky.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.MultivariateNormalCholesky.dtype` {#MultivariateNormalCholesky.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -16442,6 +18590,26 @@ Determinant of covariance matrix.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -16482,6 +18650,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -16683,6 +18871,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.MultivariateNormalDiagPlusVDVT.covariance(name='covariance')` {#MultivariateNormalDiagPlusVDVT.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.MultivariateNormalDiagPlusVDVT.dtype` {#MultivariateNormalDiagPlusVDVT.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -17158,6 +19390,26 @@ Determinant of covariance matrix.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -17198,6 +19450,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -17303,6 +19575,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.MultivariateNormalDiagWithSoftplusStDev.covariance(name='covariance')` {#MultivariateNormalDiagWithSoftplusStDev.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.MultivariateNormalDiagWithSoftplusStDev.dtype` {#MultivariateNormalDiagWithSoftplusStDev.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -17778,6 +20094,26 @@ Determinant of covariance matrix.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -17818,6 +20154,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
@@ -18027,6 +20383,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Dirichlet.covariance(name='covariance')` {#Dirichlet.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Dirichlet.dtype` {#Dirichlet.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -18465,6 +20865,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -18505,6 +20925,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -18723,6 +21163,69 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.DirichletMultinomial.covariance(name='covariance')` {#DirichletMultinomial.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+
+Additional documentation from `DirichletMultinomial`:
+
+The covariance for each batch member is defined as the following:
+
+```
+Var(X_j) = n * alpha_j / alpha_0 * (1 - alpha_j / alpha_0) *
+(n + alpha_0) / (1 + alpha_0)
+```
+
+where `alpha_0 = sum_j alpha_j`.
+
+The covariance between elements in a batch is defined as:
+
+```
+Cov(X_i, X_j) = -n * alpha_i * alpha_j / alpha_0 ** 2 *
+(n + alpha_0) / (1 + alpha_0)
+```
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.DirichletMultinomial.dtype` {#DirichletMultinomial.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -19175,6 +21678,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -19215,23 +21738,25 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
-Additional documentation from `DirichletMultinomial`:
-
-The variance for each batch member is defined as the following:
+Variance is defined as,
-```
-Var(X_j) = n * alpha_j / alpha_0 * (1 - alpha_j / alpha_0) *
-(n + alpha_0) / (1 + alpha_0)
+```none
+Var = E[(X - E[X])**2]
```
-where `alpha_0 = sum_j alpha_j`.
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
-The covariance between elements in a batch is defined as:
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
-```
-Cov(X_i, X_j) = -n * alpha_i * alpha_j / alpha_0 ** 2 *
-(n + alpha_0) / (1 + alpha_0)
-```
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
@@ -19437,6 +21962,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Multinomial.covariance(name='covariance')` {#Multinomial.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Multinomial.dtype` {#Multinomial.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -19852,9 +22421,7 @@ with `self.probs` and `self.total_count`.
#### `tf.contrib.distributions.Multinomial.probs` {#Multinomial.probs}
-Vector of probabilities summing to one.
-
-Each element is the probability of drawing that coordinate.
+Probability of of drawing a `1` in that coordinate.
- - -
@@ -19900,6 +22467,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -19947,6 +22534,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -20138,6 +22745,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.WishartCholesky.covariance(name='covariance')` {#WishartCholesky.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.WishartCholesky.df` {#WishartCholesky.df}
Wishart distribution degree(s) of freedom.
@@ -20595,6 +23246,26 @@ Wishart distribution scale matrix as an OperatorPD.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -20635,6 +23306,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -20822,6 +23513,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.WishartFull.covariance(name='covariance')` {#WishartFull.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.WishartFull.df` {#WishartFull.df}
Wishart distribution degree(s) of freedom.
@@ -21279,6 +24014,26 @@ Wishart distribution scale matrix as an OperatorPD.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -21319,6 +24074,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
@@ -21643,6 +24418,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.TransformedDistribution.covariance(name='covariance')` {#TransformedDistribution.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.TransformedDistribution.distribution` {#TransformedDistribution.distribution}
Base distribution, p(x).
@@ -22083,6 +24902,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -22123,6 +24962,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -22325,6 +25184,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.QuantizedDistribution.covariance(name='covariance')` {#QuantizedDistribution.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.QuantizedDistribution.distribution` {#QuantizedDistribution.distribution}
Base distribution, p(x).
@@ -22819,6 +25722,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -22877,6 +25800,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
@@ -23046,6 +25989,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Mixture.covariance(name='covariance')` {#Mixture.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Mixture.dtype` {#Mixture.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -23514,6 +26501,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -23554,6 +26561,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
@@ -23913,6 +26940,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.ConditionalDistribution.covariance(name='covariance')` {#ConditionalDistribution.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.ConditionalDistribution.dtype` {#ConditionalDistribution.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -24255,6 +27326,26 @@ or `distributions.NOT_REPARAMETERIZED`.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -24278,6 +27369,26 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -24394,6 +27505,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.ConditionalTransformedDistribution.covariance(name='covariance')` {#ConditionalTransformedDistribution.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.ConditionalTransformedDistribution.distribution` {#ConditionalTransformedDistribution.distribution}
Base distribution, p(x).
@@ -24755,6 +27910,26 @@ or `distributions.NOT_REPARAMETERIZED`.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -24781,5 +27956,25 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.contrib.distributions.Bernoulli.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.contrib.distributions.Bernoulli.md
index 42887b2c0f..79443ef290 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.contrib.distributions.Bernoulli.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.contrib.distributions.Bernoulli.md
@@ -127,6 +127,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Bernoulli.covariance(name='covariance')` {#Bernoulli.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Bernoulli.dtype` {#Bernoulli.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -560,6 +604,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -600,4 +664,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.contrib.distributions.Chi2WithAbsDf.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.contrib.distributions.Chi2WithAbsDf.md
index c5d0924a6e..b4668bbf51 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.contrib.distributions.Chi2WithAbsDf.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.contrib.distributions.Chi2WithAbsDf.md
@@ -111,6 +111,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Chi2WithAbsDf.covariance(name='covariance')` {#Chi2WithAbsDf.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Chi2WithAbsDf.df` {#Chi2WithAbsDf.df}
@@ -550,6 +594,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -590,4 +654,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.contrib.distributions.Dirichlet.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.contrib.distributions.Dirichlet.md
index d8de378da7..85465a5852 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.contrib.distributions.Dirichlet.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.contrib.distributions.Dirichlet.md
@@ -198,6 +198,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Dirichlet.covariance(name='covariance')` {#Dirichlet.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Dirichlet.dtype` {#Dirichlet.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -636,6 +680,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -676,4 +740,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.contrib.distributions.Distribution.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.contrib.distributions.Distribution.md
index 143a3a31c0..0df5f4b55c 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.contrib.distributions.Distribution.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.contrib.distributions.Distribution.md
@@ -239,6 +239,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Distribution.covariance(name='covariance')` {#Distribution.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Distribution.dtype` {#Distribution.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -654,6 +698,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -694,4 +758,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.contrib.distributions.MultivariateNormalCholesky.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.contrib.distributions.MultivariateNormalCholesky.md
index bd2d22d0a3..ac2d038214 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.contrib.distributions.MultivariateNormalCholesky.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.contrib.distributions.MultivariateNormalCholesky.md
@@ -167,6 +167,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.MultivariateNormalCholesky.covariance(name='covariance')` {#MultivariateNormalCholesky.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.MultivariateNormalCholesky.dtype` {#MultivariateNormalCholesky.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -642,6 +686,26 @@ Determinant of covariance matrix.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -682,4 +746,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.contrib.distributions.MultivariateNormalDiag.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.contrib.distributions.MultivariateNormalDiag.md
index 8864fbb22a..fd1347a576 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.contrib.distributions.MultivariateNormalDiag.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.contrib.distributions.MultivariateNormalDiag.md
@@ -167,6 +167,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.MultivariateNormalDiag.covariance(name='covariance')` {#MultivariateNormalDiag.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.MultivariateNormalDiag.dtype` {#MultivariateNormalDiag.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -642,6 +686,26 @@ Determinant of covariance matrix.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -682,4 +746,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.contrib.distributions.QuantizedDistribution.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.contrib.distributions.QuantizedDistribution.md
index b6d70fd39b..5ed362fc26 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.contrib.distributions.QuantizedDistribution.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.contrib.distributions.QuantizedDistribution.md
@@ -194,6 +194,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.QuantizedDistribution.covariance(name='covariance')` {#QuantizedDistribution.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.QuantizedDistribution.distribution` {#QuantizedDistribution.distribution}
Base distribution, p(x).
@@ -688,6 +732,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -746,4 +810,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.contrib.distributions.StudentT.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.contrib.distributions.StudentT.md
index 3a625fddf4..fe431bceb6 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.contrib.distributions.StudentT.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.contrib.distributions.StudentT.md
@@ -180,6 +180,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.StudentT.covariance(name='covariance')` {#StudentT.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.StudentT.df` {#StudentT.df}
Degrees of freedom in these Student's t distribution(s).
@@ -622,6 +666,26 @@ Scaling factors of these Student's t distribution(s).
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -662,6 +726,16 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+
Additional documentation from `StudentT`:
The variance for Student's T equals
@@ -672,4 +746,15 @@ infinity, when 1 < df <= 2
NaN, when df <= 1
```
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.contrib.distributions.TransformedDistribution.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.contrib.distributions.TransformedDistribution.md
index ed7cffbae3..3c284d5400 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.contrib.distributions.TransformedDistribution.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.contrib.distributions.TransformedDistribution.md
@@ -254,6 +254,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.TransformedDistribution.covariance(name='covariance')` {#TransformedDistribution.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.TransformedDistribution.distribution` {#TransformedDistribution.distribution}
Base distribution, p(x).
@@ -694,6 +738,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -734,4 +798,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.contrib.distributions.Categorical.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.contrib.distributions.Categorical.md
index 052c16a821..24ab08c6ae 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.contrib.distributions.Categorical.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.contrib.distributions.Categorical.md
@@ -160,6 +160,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Categorical.covariance(name='covariance')` {#Categorical.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Categorical.dtype` {#Categorical.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -598,6 +642,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -638,4 +702,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.contrib.distributions.Chi2.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.contrib.distributions.Chi2.md
index da34aee0f5..b356966511 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.contrib.distributions.Chi2.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.contrib.distributions.Chi2.md
@@ -133,6 +133,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Chi2.covariance(name='covariance')` {#Chi2.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Chi2.df` {#Chi2.df}
@@ -572,6 +616,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -612,4 +676,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.contrib.distributions.ConditionalDistribution.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.contrib.distributions.ConditionalDistribution.md
index 50bf702980..2768acd296 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.contrib.distributions.ConditionalDistribution.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.contrib.distributions.ConditionalDistribution.md
@@ -115,6 +115,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.ConditionalDistribution.covariance(name='covariance')` {#ConditionalDistribution.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.ConditionalDistribution.dtype` {#ConditionalDistribution.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -457,6 +501,26 @@ or `distributions.NOT_REPARAMETERIZED`.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -480,4 +544,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.contrib.distributions.Uniform.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.contrib.distributions.Uniform.md
index bdb5f9f7be..f312e876d7 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.contrib.distributions.Uniform.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.contrib.distributions.Uniform.md
@@ -153,6 +153,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Uniform.covariance(name='covariance')` {#Uniform.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Uniform.dtype` {#Uniform.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -575,6 +619,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -615,4 +679,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.contrib.distributions.WishartCholesky.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.contrib.distributions.WishartCholesky.md
index 751b39da28..0af916f72e 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.contrib.distributions.WishartCholesky.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.contrib.distributions.WishartCholesky.md
@@ -183,6 +183,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.WishartCholesky.covariance(name='covariance')` {#WishartCholesky.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.WishartCholesky.df` {#WishartCholesky.df}
Wishart distribution degree(s) of freedom.
@@ -640,6 +684,26 @@ Wishart distribution scale matrix as an OperatorPD.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -680,4 +744,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.BetaWithSoftplusAB.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.BetaWithSoftplusAB.md
index d2c7e7de98..5c3f7090c3 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.BetaWithSoftplusAB.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.BetaWithSoftplusAB.md
@@ -118,6 +118,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.BetaWithSoftplusAB.covariance(name='covariance')` {#BetaWithSoftplusAB.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.BetaWithSoftplusAB.dtype` {#BetaWithSoftplusAB.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -556,6 +600,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -596,4 +660,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.Binomial.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.Binomial.md
index 47b1279bd3..f59f85f88b 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.Binomial.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.Binomial.md
@@ -185,6 +185,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Binomial.covariance(name='covariance')` {#Binomial.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Binomial.dtype` {#Binomial.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -647,6 +691,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -694,4 +758,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.DirichletMultinomial.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.DirichletMultinomial.md
index 59f0264c31..d5699ef3d4 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.DirichletMultinomial.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.DirichletMultinomial.md
@@ -210,6 +210,69 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.DirichletMultinomial.covariance(name='covariance')` {#DirichletMultinomial.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+
+Additional documentation from `DirichletMultinomial`:
+
+The covariance for each batch member is defined as the following:
+
+```
+Var(X_j) = n * alpha_j / alpha_0 * (1 - alpha_j / alpha_0) *
+(n + alpha_0) / (1 + alpha_0)
+```
+
+where `alpha_0 = sum_j alpha_j`.
+
+The covariance between elements in a batch is defined as:
+
+```
+Cov(X_i, X_j) = -n * alpha_i * alpha_j / alpha_0 ** 2 *
+(n + alpha_0) / (1 + alpha_0)
+```
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.DirichletMultinomial.dtype` {#DirichletMultinomial.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -662,6 +725,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -702,22 +785,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
-Additional documentation from `DirichletMultinomial`:
-
-The variance for each batch member is defined as the following:
+Variance is defined as,
-```
-Var(X_j) = n * alpha_j / alpha_0 * (1 - alpha_j / alpha_0) *
-(n + alpha_0) / (1 + alpha_0)
+```none
+Var = E[(X - E[X])**2]
```
-where `alpha_0 = sum_j alpha_j`.
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
-The covariance between elements in a batch is defined as:
+##### Args:
-```
-Cov(X_i, X_j) = -n * alpha_i * alpha_j / alpha_0 ** 2 *
-(n + alpha_0) / (1 + alpha_0)
-```
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.Exponential.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.Exponential.md
index faf16c5e7e..44d2ff1499 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.Exponential.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.Exponential.md
@@ -133,6 +133,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Exponential.covariance(name='covariance')` {#Exponential.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Exponential.dtype` {#Exponential.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -572,6 +616,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -612,4 +676,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.Gamma.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.Gamma.md
index d28846b58d..adde19f553 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.Gamma.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.Gamma.md
@@ -160,6 +160,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Gamma.covariance(name='covariance')` {#Gamma.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Gamma.dtype` {#Gamma.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -592,6 +636,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -632,4 +696,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.GammaWithSoftplusAlphaBeta.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.GammaWithSoftplusAlphaBeta.md
index 6660739883..0c48531370 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.GammaWithSoftplusAlphaBeta.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.GammaWithSoftplusAlphaBeta.md
@@ -111,6 +111,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.GammaWithSoftplusAlphaBeta.covariance(name='covariance')` {#GammaWithSoftplusAlphaBeta.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.GammaWithSoftplusAlphaBeta.dtype` {#GammaWithSoftplusAlphaBeta.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -543,6 +587,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -583,4 +647,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.InverseGamma.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.InverseGamma.md
index 687f8328ce..2b13df03d0 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.InverseGamma.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.InverseGamma.md
@@ -156,6 +156,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.InverseGamma.covariance(name='covariance')` {#InverseGamma.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.InverseGamma.dtype` {#InverseGamma.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -592,6 +636,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -632,10 +696,31 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+
Additional documentation from `InverseGamma`:
Variance for inverse gamma is defined only for `alpha > 2`. If
`self.allow_nan_stats` is `False`, an exception will be raised rather
than returning `NaN`.
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.InverseGammaWithSoftplusAlphaBeta.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.InverseGammaWithSoftplusAlphaBeta.md
index d290950a8c..67e8d29a01 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.InverseGammaWithSoftplusAlphaBeta.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.InverseGammaWithSoftplusAlphaBeta.md
@@ -111,6 +111,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.InverseGammaWithSoftplusAlphaBeta.covariance(name='covariance')` {#InverseGammaWithSoftplusAlphaBeta.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.InverseGammaWithSoftplusAlphaBeta.dtype` {#InverseGammaWithSoftplusAlphaBeta.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -547,6 +591,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -587,10 +651,31 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+
Additional documentation from `InverseGamma`:
Variance for inverse gamma is defined only for `alpha > 2`. If
`self.allow_nan_stats` is `False`, an exception will be raised rather
than returning `NaN`.
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.Multinomial.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.Multinomial.md
index 3add2d69e1..858d7c3ba4 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.Multinomial.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.Multinomial.md
@@ -196,6 +196,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Multinomial.covariance(name='covariance')` {#Multinomial.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Multinomial.dtype` {#Multinomial.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -611,9 +655,7 @@ with `self.probs` and `self.total_count`.
#### `tf.contrib.distributions.Multinomial.probs` {#Multinomial.probs}
-Vector of probabilities summing to one.
-
-Each element is the probability of drawing that coordinate.
+Probability of of drawing a `1` in that coordinate.
- - -
@@ -659,6 +701,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -706,4 +768,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.MultivariateNormalDiagPlusVDVT.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.MultivariateNormalDiagPlusVDVT.md
index fe95fe3036..e8a3d076f9 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.MultivariateNormalDiagPlusVDVT.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.distributions.MultivariateNormalDiagPlusVDVT.md
@@ -193,6 +193,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.MultivariateNormalDiagPlusVDVT.covariance(name='covariance')` {#MultivariateNormalDiagPlusVDVT.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.MultivariateNormalDiagPlusVDVT.dtype` {#MultivariateNormalDiagPlusVDVT.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -668,6 +712,26 @@ Determinant of covariance matrix.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -708,4 +772,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard6/tf.contrib.distributions.BernoulliWithSigmoidProbs.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard6/tf.contrib.distributions.BernoulliWithSigmoidProbs.md
index a742162090..4eaceaa9e7 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard6/tf.contrib.distributions.BernoulliWithSigmoidProbs.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard6/tf.contrib.distributions.BernoulliWithSigmoidProbs.md
@@ -97,6 +97,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.BernoulliWithSigmoidProbs.covariance(name='covariance')` {#BernoulliWithSigmoidProbs.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.BernoulliWithSigmoidProbs.dtype` {#BernoulliWithSigmoidProbs.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -530,6 +574,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -570,4 +634,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard6/tf.contrib.distributions.Beta.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard6/tf.contrib.distributions.Beta.md
index 2dc251fddd..87a1d87aca 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard6/tf.contrib.distributions.Beta.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard6/tf.contrib.distributions.Beta.md
@@ -207,6 +207,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Beta.covariance(name='covariance')` {#Beta.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Beta.dtype` {#Beta.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -645,6 +689,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -685,4 +749,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard6/tf.contrib.distributions.Laplace.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard6/tf.contrib.distributions.Laplace.md
index b3e3ac2ff9..41b3eab89d 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard6/tf.contrib.distributions.Laplace.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard6/tf.contrib.distributions.Laplace.md
@@ -130,6 +130,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Laplace.covariance(name='covariance')` {#Laplace.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Laplace.dtype` {#Laplace.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -559,6 +603,26 @@ Distribution parameter for scale.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -599,4 +663,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard6/tf.contrib.distributions.LaplaceWithSoftplusScale.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard6/tf.contrib.distributions.LaplaceWithSoftplusScale.md
index 6d6139bd4d..cebf30a19a 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard6/tf.contrib.distributions.LaplaceWithSoftplusScale.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard6/tf.contrib.distributions.LaplaceWithSoftplusScale.md
@@ -97,6 +97,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.LaplaceWithSoftplusScale.covariance(name='covariance')` {#LaplaceWithSoftplusScale.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.LaplaceWithSoftplusScale.dtype` {#LaplaceWithSoftplusScale.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -526,6 +570,26 @@ Distribution parameter for scale.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -566,4 +630,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard6/tf.contrib.distributions.StudentTWithAbsDfSoftplusSigma.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard6/tf.contrib.distributions.StudentTWithAbsDfSoftplusSigma.md
index 522327a648..baec79507d 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard6/tf.contrib.distributions.StudentTWithAbsDfSoftplusSigma.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard6/tf.contrib.distributions.StudentTWithAbsDfSoftplusSigma.md
@@ -97,6 +97,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.StudentTWithAbsDfSoftplusSigma.covariance(name='covariance')` {#StudentTWithAbsDfSoftplusSigma.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.StudentTWithAbsDfSoftplusSigma.df` {#StudentTWithAbsDfSoftplusSigma.df}
Degrees of freedom in these Student's t distribution(s).
@@ -539,6 +583,26 @@ Scaling factors of these Student's t distribution(s).
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -579,6 +643,16 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+
Additional documentation from `StudentT`:
The variance for Student's T equals
@@ -589,4 +663,15 @@ infinity, when 1 < df <= 2
NaN, when df <= 1
```
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard7/tf.contrib.distributions.ConditionalTransformedDistribution.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard7/tf.contrib.distributions.ConditionalTransformedDistribution.md
index 696df0f70c..52cf3fed7a 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard7/tf.contrib.distributions.ConditionalTransformedDistribution.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard7/tf.contrib.distributions.ConditionalTransformedDistribution.md
@@ -108,6 +108,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.ConditionalTransformedDistribution.covariance(name='covariance')` {#ConditionalTransformedDistribution.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.ConditionalTransformedDistribution.distribution` {#ConditionalTransformedDistribution.distribution}
Base distribution, p(x).
@@ -469,6 +513,26 @@ or `distributions.NOT_REPARAMETERIZED`.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -495,4 +559,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard7/tf.contrib.distributions.ExponentialWithSoftplusLam.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard7/tf.contrib.distributions.ExponentialWithSoftplusLam.md
index 946b42ae37..042d31cc51 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard7/tf.contrib.distributions.ExponentialWithSoftplusLam.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard7/tf.contrib.distributions.ExponentialWithSoftplusLam.md
@@ -111,6 +111,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.ExponentialWithSoftplusLam.covariance(name='covariance')` {#ExponentialWithSoftplusLam.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.ExponentialWithSoftplusLam.dtype` {#ExponentialWithSoftplusLam.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -550,6 +594,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -590,4 +654,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard7/tf.contrib.distributions.MultivariateNormalFull.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard7/tf.contrib.distributions.MultivariateNormalFull.md
index 6c4918d19c..0c1c09d567 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard7/tf.contrib.distributions.MultivariateNormalFull.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard7/tf.contrib.distributions.MultivariateNormalFull.md
@@ -158,6 +158,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.MultivariateNormalFull.covariance(name='covariance')` {#MultivariateNormalFull.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.MultivariateNormalFull.dtype` {#MultivariateNormalFull.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -633,6 +677,26 @@ Determinant of covariance matrix.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -673,4 +737,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard7/tf.contrib.distributions.Normal.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard7/tf.contrib.distributions.Normal.md
index 91bf21c03c..73a42eb421 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard7/tf.contrib.distributions.Normal.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard7/tf.contrib.distributions.Normal.md
@@ -161,6 +161,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Normal.covariance(name='covariance')` {#Normal.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Normal.dtype` {#Normal.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -590,6 +634,26 @@ Distribution parameter for standard deviation.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -630,4 +694,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard8/tf.contrib.distributions.Mixture.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard8/tf.contrib.distributions.Mixture.md
index 4a4f4ee831..d74abaeafa 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard8/tf.contrib.distributions.Mixture.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard8/tf.contrib.distributions.Mixture.md
@@ -158,6 +158,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Mixture.covariance(name='covariance')` {#Mixture.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Mixture.dtype` {#Mixture.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -626,6 +670,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -666,4 +730,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard8/tf.contrib.distributions.NormalWithSoftplusSigma.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard8/tf.contrib.distributions.NormalWithSoftplusSigma.md
index 1550fcac87..8c43860b37 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard8/tf.contrib.distributions.NormalWithSoftplusSigma.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard8/tf.contrib.distributions.NormalWithSoftplusSigma.md
@@ -97,6 +97,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.NormalWithSoftplusSigma.covariance(name='covariance')` {#NormalWithSoftplusSigma.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.NormalWithSoftplusSigma.dtype` {#NormalWithSoftplusSigma.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -526,6 +570,26 @@ Distribution parameter for standard deviation.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -566,4 +630,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.contrib.distributions.MultivariateNormalDiagWithSoftplusStDev.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.contrib.distributions.MultivariateNormalDiagWithSoftplusStDev.md
index f199747531..3ec9536979 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.contrib.distributions.MultivariateNormalDiagWithSoftplusStDev.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.contrib.distributions.MultivariateNormalDiagWithSoftplusStDev.md
@@ -97,6 +97,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.MultivariateNormalDiagWithSoftplusStDev.covariance(name='covariance')` {#MultivariateNormalDiagWithSoftplusStDev.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.MultivariateNormalDiagWithSoftplusStDev.dtype` {#MultivariateNormalDiagWithSoftplusStDev.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -572,6 +616,26 @@ Determinant of covariance matrix.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -612,4 +676,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.contrib.distributions.Poisson.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.contrib.distributions.Poisson.md
index a54e2bea04..52ec73fbf0 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.contrib.distributions.Poisson.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.contrib.distributions.Poisson.md
@@ -121,6 +121,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.Poisson.covariance(name='covariance')` {#Poisson.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.Poisson.dtype` {#Poisson.dtype}
The `DType` of `Tensor`s handled by this `Distribution`.
@@ -563,6 +607,26 @@ sample.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -603,4 +667,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.contrib.distributions.WishartFull.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.contrib.distributions.WishartFull.md
index 11eb2d48be..f1dd7066f7 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.contrib.distributions.WishartFull.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.contrib.distributions.WishartFull.md
@@ -179,6 +179,50 @@ intialization arguments.
- - -
+#### `tf.contrib.distributions.WishartFull.covariance(name='covariance')` {#WishartFull.covariance}
+
+Covariance.
+
+Covariance is (possibly) defined only for non-scalar-event distributions.
+
+For example, for a length-`k`, vector-valued distribution, it is calculated
+as,
+
+```none
+Cov[i, j] = Covariance(X_i, X_j) = E[(X_i - E[X_i]) (X_j - E[X_j])]
+```
+
+where `Cov` is a (batch of) `k x k` matrix, `0 <= (i, j) < k`, and `E`
+denotes expectation.
+
+Alternatively, for non-vector, multivariate distributions (e.g.,
+matrix-valued, Wishart), `Covariance` shall return a (batch of) matrices
+under some vectorization of the events, i.e.,
+
+```none
+Cov[i, j] = Covariance(Vec(X)_i, Vec(X)_j) = [as above]
+````
+
+where `Cov` is a (batch of) `k' x k'` matrices,
+`0 <= (i, j) < k' = reduce_prod(event_shape)`, and `Vec` is some function
+mapping indices of this distribution's event dimensions to indices of a
+length-`k'` vector.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`covariance`</b>: Floating-point `Tensor` with shape `[B1, ..., Bn, k', k']`
+ where the first `n` dimensions are batch coordinates and
+ `k' = reduce_prod(self.event_shape)`.
+
+
+- - -
+
#### `tf.contrib.distributions.WishartFull.df` {#WishartFull.df}
Wishart distribution degree(s) of freedom.
@@ -636,6 +680,26 @@ Wishart distribution scale matrix as an OperatorPD.
Standard deviation.
+Standard deviation is defined as,
+
+```none
+stddev = E[(X - E[X])**2]**0.5
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `stddev.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`stddev`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+
- - -
@@ -676,4 +740,24 @@ Python boolean indicated possibly expensive checks are enabled.
Variance.
+Variance is defined as,
+
+```none
+Var = E[(X - E[X])**2]
+```
+
+where `X` is the random variable associated with this distribution, `E`
+denotes expectation, and `Var.shape = batch_shape + event_shape`.
+
+##### Args:
+
+
+* <b>`name`</b>: The name to give this op.
+
+##### Returns:
+
+
+* <b>`variance`</b>: Floating-point `Tensor` with shape identical to
+ `batch_shape + event_shape`, i.e., the same shape as `self.mean()`.
+