jax.scipy.stats.laplace.pdf# jax.scipy.stats.laplace.pdf(x, loc=0, scale=1)[原始碼]# 拉普拉斯機率分布函數。 scipy.stats.laplace pdf 的 JAX 實作。 拉普拉斯機率分布函數由下式給出 \[f(x) = \frac{1}{2} e^{-|x|}\] 參數: x (Array | ndarray | bool | number | bool | int | float | complex) – 類陣列,評估 PDF 的值 loc (Array | ndarray | bool | number | bool | int | float | complex) – 類陣列,分布偏移參數 scale (Array | ndarray | bool | number | bool | int | float | complex) – 類陣列,分布尺度參數 回傳: pdf 值的陣列。 回傳型別: Array 另請參閱 jax.scipy.stats.laplace.cdf() jax.scipy.stats.laplace.logpdf()