MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _log_cdf

Method _log_cdf

tensorflow/contrib/distributions/python/ops/cauchy.py:190–191  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

188 return math_ops.atan(self._z(x)) / np.pi + 0.5
189
190 def _log_cdf(self, x):
191 return math_ops.log1p(2 / np.pi * math_ops.atan(self._z(x))) - np.log(2)
192
193 def _log_unnormalized_prob(self, x):
194 return -math_ops.log1p(math_ops.square(self._z(x)))

Callers

nothing calls this directly

Calls 3

_zMethod · 0.95
log1pMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected