Home
last modified time | relevance | path

Searched refs:kl_divergence (Results 1 – 25 of 33) sorted by relevance

12

/external/tensorflow/tensorflow/python/kernel_tests/distributions/
Dkullback_leibler_test.py47 self.assertEqual("OK", kullback_leibler.kl_divergence(a, a, name="OK"))
65 kl = kullback_leibler.kl_divergence(a, a, allow_nan_stats=False)
71 a.kl_divergence(a).eval()
73 kl_ok = kullback_leibler.kl_divergence(a, a)
75 self_kl_ok = a.kl_divergence(a)
147 self._testIndirectRegistration(kullback_leibler.kl_divergence)
151 lambda p, q: p.kl_divergence(q))
Ddirichlet_test.py283 kl_actual = kullback_leibler.kl_divergence(d1, d2)
304 kl_same = self.evaluate(kullback_leibler.kl_divergence(d1, d1))
Dcategorical_test.py481 kl = kullback_leibler.kl_divergence(a, b)
484 kl_same = sess.run(kullback_leibler.kl_divergence(a, a))
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/
Dindependent_test.py144 kullback_leibler.kl_divergence(ind1, ind2)
159 kullback_leibler.kl_divergence(ind1, ind2)
174 normal_kl = kullback_leibler.kl_divergence(normal1, normal2)
175 ind_kl = kullback_leibler.kl_divergence(ind1, ind2)
197 normal_kl = kullback_leibler.kl_divergence(normal1, normal2)
198 ind_kl = kullback_leibler.kl_divergence(ind1, ind2)
218 mvn_kl = kullback_leibler.kl_divergence(mvn1, mvn2)
219 ind_kl = kullback_leibler.kl_divergence(ind1, ind2)
Dmvn_diag_plus_low_rank_test.py186 analytical_kl_identity = ds.kl_divergence(dist, mvn_identity)
190 analytical_kl_scaled = ds.kl_divergence(dist, mvn_scaled)
194 analytical_kl_diag = ds.kl_divergence(dist, mvn_diag)
198 analytical_kl_chol = ds.kl_divergence(dist, mvn_chol)
209 analytical_kl_identity_diag_baseline = ds.kl_divergence(
214 analytical_kl_scaled_diag_baseline = ds.kl_divergence(
219 analytical_kl_diag_diag_baseline = ds.kl_divergence(baseline, mvn_diag)
223 analytical_kl_chol_diag_baseline = ds.kl_divergence(baseline, mvn_chol)
Dmvn_tril_test.py252 kl = ds.kl_divergence(mvn_a, mvn_b)
274 kl = ds.kl_divergence(mvn_a, mvn_b)
301 kl = ds.kl_divergence(mvn_a, mvn_b)
323 kl = ds.kl_divergence(mvn_a, mvn_a)
359 analytical_kl_chol = ds.kl_divergence(dist, mvn_chol)
Dmvn_full_covariance_test.py148 kl = ds.kl_divergence(mvn_a, mvn_b)
175 kl = ds.kl_divergence(mvn_a, mvn_b)
Donehot_categorical_test.py181 kl_actual = kullback_leibler.kl_divergence(p, q)
182 kl_same = kullback_leibler.kl_divergence(p, p)
/external/nos/test/system-test-harness/src/
Druntests.cc318 double kl_divergence = 0; in TEST_F() local
322 kl_divergence += count * log2(count * ratio); in TEST_F()
324 kl_divergence *= ratio; in TEST_F()
326 cout << "K.L. Divergence: " << kl_divergence << "\n"; in TEST_F()
329 ASSERT_LT(kl_divergence, 15.0); in TEST_F()
/external/tensorflow/tensorflow/python/ops/distributions/
Dkullback_leibler.py64 def kl_divergence(distribution_a, distribution_b, function
160 return ref.entropy() + kl_divergence(
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.distributions.-distribution.pbtxt79 name: "kl_divergence"
80 …"args=[\'self\', \'other\', \'name\'], varargs=None, keywords=None, defaults=[\'kl_divergence\'], "
Dtensorflow.distributions.-exponential.pbtxt89 name: "kl_divergence"
90 …"args=[\'self\', \'other\', \'name\'], varargs=None, keywords=None, defaults=[\'kl_divergence\'], "
Dtensorflow.distributions.-normal.pbtxt88 name: "kl_divergence"
89 …"args=[\'self\', \'other\', \'name\'], varargs=None, keywords=None, defaults=[\'kl_divergence\'], "
Dtensorflow.distributions.-dirichlet-multinomial.pbtxt92 name: "kl_divergence"
93 …"args=[\'self\', \'other\', \'name\'], varargs=None, keywords=None, defaults=[\'kl_divergence\'], "
Dtensorflow.distributions.-uniform.pbtxt88 name: "kl_divergence"
89 …"args=[\'self\', \'other\', \'name\'], varargs=None, keywords=None, defaults=[\'kl_divergence\'], "
Dtensorflow.distributions.-multinomial.pbtxt92 name: "kl_divergence"
93 …"args=[\'self\', \'other\', \'name\'], varargs=None, keywords=None, defaults=[\'kl_divergence\'], "
Dtensorflow.distributions.-dirichlet.pbtxt88 name: "kl_divergence"
89 …"args=[\'self\', \'other\', \'name\'], varargs=None, keywords=None, defaults=[\'kl_divergence\'], "
Dtensorflow.distributions.-bernoulli.pbtxt88 name: "kl_divergence"
89 …"args=[\'self\', \'other\', \'name\'], varargs=None, keywords=None, defaults=[\'kl_divergence\'], "
Dtensorflow.distributions.-beta.pbtxt92 name: "kl_divergence"
93 …"args=[\'self\', \'other\', \'name\'], varargs=None, keywords=None, defaults=[\'kl_divergence\'], "
Dtensorflow.distributions.-student-t.pbtxt92 name: "kl_divergence"
93 …"args=[\'self\', \'other\', \'name\'], varargs=None, keywords=None, defaults=[\'kl_divergence\'], "
Dtensorflow.distributions.-laplace.pbtxt88 name: "kl_divergence"
89 …"args=[\'self\', \'other\', \'name\'], varargs=None, keywords=None, defaults=[\'kl_divergence\'], "
Dtensorflow.distributions.-gamma.pbtxt88 name: "kl_divergence"
89 …"args=[\'self\', \'other\', \'name\'], varargs=None, keywords=None, defaults=[\'kl_divergence\'], "
Dtensorflow.distributions.-categorical.pbtxt92 name: "kl_divergence"
93 …"args=[\'self\', \'other\', \'name\'], varargs=None, keywords=None, defaults=[\'kl_divergence\'], "
Dtensorflow.distributions.pbtxt72 name: "kl_divergence"
/external/tensorflow/tensorflow/contrib/distributions/python/ops/
Dindependent.py320 kullback_leibler.kl_divergence(p, q, name=name), axis=reduce_dims)
336 kullback_leibler.kl_divergence(p, q, name=name), axis=reduce_dims)

12