用法
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 的對數產生更準確的答案。
相關用法
- Python tf.compat.v1.distributions.Distribution.log_survival_function用法及代碼示例
- Python tf.compat.v1.distributions.Distribution.variance用法及代碼示例
- Python tf.compat.v1.distributions.Distribution.cdf用法及代碼示例
- Python tf.compat.v1.distributions.Distribution.quantile用法及代碼示例
- Python tf.compat.v1.distributions.Distribution.survival_function用法及代碼示例
- Python tf.compat.v1.distributions.Distribution.covariance用法及代碼示例
- Python tf.compat.v1.distributions.Distribution.stddev用法及代碼示例
- Python tf.compat.v1.distributions.Distribution.cross_entropy用法及代碼示例
- Python tf.compat.v1.distributions.Distribution.kl_divergence用法及代碼示例
- Python tf.compat.v1.distributions.Distribution用法及代碼示例
- Python tf.compat.v1.distributions.Dirichlet.covariance用法及代碼示例
- Python tf.compat.v1.distributions.Dirichlet.stddev用法及代碼示例
- Python tf.compat.v1.distributions.Dirichlet.kl_divergence用法及代碼示例
- Python tf.compat.v1.distributions.Dirichlet.cross_entropy用法及代碼示例
- Python tf.compat.v1.distributions.DirichletMultinomial.log_survival_function用法及代碼示例
- Python tf.compat.v1.distributions.DirichletMultinomial.survival_function用法及代碼示例
- Python tf.compat.v1.distributions.DirichletMultinomial.quantile用法及代碼示例
- Python tf.compat.v1.distributions.Dirichlet.cdf用法及代碼示例
- Python tf.compat.v1.distributions.Dirichlet.survival_function用法及代碼示例
- Python tf.compat.v1.distributions.DirichletMultinomial.log_cdf用法及代碼示例
注:本文由純淨天空篩選整理自tensorflow.org大神的英文原創作品 tf.compat.v1.distributions.Distribution.log_cdf。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。
