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

Function delta

tensorflow/python/ops/distributions/beta.py:391–394  ·  view source on GitHub ↗
(fn, is_property=True)

Source from the content-addressed store, hash-verified

389 Batchwise KL(d1 || d2)
390 """
391 def delta(fn, is_property=True):
392 fn1 = getattr(d1, fn)
393 fn2 = getattr(d2, fn)
394 return (fn2 - fn1) if is_property else (fn2() - fn1())
395 with ops.name_scope(name, "kl_beta_beta", values=[
396 d1.concentration1,
397 d1.concentration0,

Callers 4

_kl_beta_betaFunction · 0.85
IdenticalSlowPathMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected