用法
variance(
    name='variance'
)參數
- 
namePythonstr附加在此函數創建的操作名稱之前。
返回
- 
variance形狀與batch_shape + event_shape相同的浮點Tensor,即與self.mean()相同的形狀。
方差。
方差定義為,
Var = E[(X - E[X])**2]其中 X 是與此分布相關的隨機變量, E 表示期望值,而 Var.shape = batch_shape + event_shape 。
相關用法
- Python tf.compat.v1.distributions.Gamma.cdf用法及代碼示例
- Python tf.compat.v1.distributions.Gamma.log_cdf用法及代碼示例
- Python tf.compat.v1.distributions.Gamma.cross_entropy用法及代碼示例
- Python tf.compat.v1.distributions.Gamma.stddev用法及代碼示例
- Python tf.compat.v1.distributions.Gamma.covariance用法及代碼示例
- Python tf.compat.v1.distributions.Gamma.quantile用法及代碼示例
- Python tf.compat.v1.distributions.Gamma.log_survival_function用法及代碼示例
- Python tf.compat.v1.distributions.Gamma.kl_divergence用法及代碼示例
- Python tf.compat.v1.distributions.Gamma.survival_function用法及代碼示例
- Python tf.compat.v1.distributions.Gamma用法及代碼示例
- Python tf.compat.v1.distributions.Multinomial.stddev用法及代碼示例
- Python tf.compat.v1.distributions.Bernoulli.cross_entropy用法及代碼示例
- Python tf.compat.v1.distributions.Bernoulli.covariance用法及代碼示例
- Python tf.compat.v1.distributions.Normal.log_survival_function用法及代碼示例
- Python tf.compat.v1.distributions.Laplace.stddev用法及代碼示例
- Python tf.compat.v1.distributions.Multinomial.quantile用法及代碼示例
- Python tf.compat.v1.distributions.Uniform.log_survival_function用法及代碼示例
- Python tf.compat.v1.distributions.Normal.log_cdf用法及代碼示例
- Python tf.compat.v1.distributions.Laplace.cross_entropy用法及代碼示例
- Python tf.compat.v1.distributions.Dirichlet.covariance用法及代碼示例
注:本文由純淨天空篩選整理自tensorflow.org大神的英文原創作品 tf.compat.v1.distributions.Gamma.variance。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。
