用法
log_cdf(
    value, name='log_cdf'
)參數
- 
valuefloat或doubleTensor。
- 
namePythonstr附加在此函數創建的操作名稱之前。
返回
- 
logcdf形狀為sample_shape(x) + self.batch_shape的Tensor,其值類型為self.dtype。
對數累積分布函數。
給定隨機變量 X ,累積分布函數 cdf 為:
log_cdf(x):= Log[ P[X <= x] ]通常,可以對 log_cdf(x) 使用數值近似值,這比在 x << -1 時簡單地取 cdf 的對數產生更準確的答案。
Beta 的其他文檔:
注意:x 必須具有 dtype self.dtype 並且在 [0, 1]. 它必須具有與 self.batch_shape() 兼容的形狀。
相關用法
- Python tf.compat.v1.distributions.Beta.log_survival_function用法及代碼示例
- Python tf.compat.v1.distributions.Beta.quantile用法及代碼示例
- Python tf.compat.v1.distributions.Beta.kl_divergence用法及代碼示例
- Python tf.compat.v1.distributions.Beta.covariance用法及代碼示例
- Python tf.compat.v1.distributions.Beta.cdf用法及代碼示例
- Python tf.compat.v1.distributions.Beta.stddev用法及代碼示例
- Python tf.compat.v1.distributions.Beta.cross_entropy用法及代碼示例
- Python tf.compat.v1.distributions.Beta.survival_function用法及代碼示例
- Python tf.compat.v1.distributions.Beta.variance用法及代碼示例
- Python tf.compat.v1.distributions.Beta用法及代碼示例
- Python tf.compat.v1.distributions.Bernoulli.cross_entropy用法及代碼示例
- Python tf.compat.v1.distributions.Bernoulli.covariance用法及代碼示例
- Python tf.compat.v1.distributions.Bernoulli.survival_function用法及代碼示例
- Python tf.compat.v1.distributions.Bernoulli.kl_divergence用法及代碼示例
- Python tf.compat.v1.distributions.Bernoulli.log_survival_function用法及代碼示例
- Python tf.compat.v1.distributions.Bernoulli.log_cdf用法及代碼示例
- Python tf.compat.v1.distributions.Bernoulli.stddev用法及代碼示例
- Python tf.compat.v1.distributions.Bernoulli.cdf用法及代碼示例
- Python tf.compat.v1.distributions.Bernoulli.quantile用法及代碼示例
- Python tf.compat.v1.distributions.Bernoulli.variance用法及代碼示例
注:本文由純淨天空篩選整理自tensorflow.org大神的英文原創作品 tf.compat.v1.distributions.Beta.log_cdf。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。
