Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/python/ops/distributions/
Dgamma.py137 concentration, argument
166 with ops.name_scope(name, values=[concentration, rate]) as name:
168 check_ops.assert_positive(concentration),
172 concentration, name="concentration")
193 def concentration(self): member in Gamma
204 array_ops.shape(self.concentration),
209 self.concentration.get_shape(),
224 alpha=self.concentration,
236 return math_ops.igamma(self.concentration, self.rate * x)
240 return math_ops.xlogy(self.concentration - 1., x) - self.rate * x
[all …]
Ddirichlet.py173 concentration, argument
197 with ops.name_scope(name, values=[concentration]) as name:
199 ops.convert_to_tensor(concentration, name="concentration"),
213 def concentration(self): member in Dirichlet
229 return array_ops.shape(self.concentration)[-1:]
232 return self.concentration.get_shape().with_rank_at_least(1)[-1:]
237 alpha=self.concentration,
252 return math_ops.reduce_sum(math_ops.xlogy(self.concentration - 1., x), -1)
255 return special_math_ops.lbeta(self.concentration)
264 (self.concentration - 1.) * math_ops.digamma(self.concentration),
[all …]
Ddirichlet_multinomial.py177 concentration, argument
204 with ops.name_scope(name, values=[total_count, concentration]) as name:
219 ops.convert_to_tensor(concentration,
239 def concentration(self): member in DirichletMultinomial
255 return array_ops.shape(self.concentration)[-1:]
259 return self.concentration.get_shape().with_rank_at_least(1)[-1:]
267 alpha=self.concentration,
284 special_math_ops.lbeta(self.concentration + counts)
285 - special_math_ops.lbeta(self.concentration))
294 return self.total_count * (self.concentration /
[all …]
Dbeta.py331 def _maybe_assert_valid_concentration(self, concentration, validate_args): argument
334 return concentration
337 concentration,
339 ], concentration)
Dexponential.py110 concentration=array_ops.ones([], dtype=self._rate.dtype),
/external/tensorflow/tensorflow/python/kernel_tests/distributions/
Dgamma_test.py55 gamma = gamma_lib.Gamma(concentration=alpha, rate=beta)
69 gamma = gamma_lib.Gamma(concentration=alpha, rate=beta)
84 gamma = gamma_lib.Gamma(concentration=1., rate=rate)
95 gamma = gamma_lib.Gamma(concentration=alpha, rate=beta)
115 gamma = gamma_lib.Gamma(concentration=alpha, rate=beta)
137 gamma = gamma_lib.Gamma(concentration=alpha, rate=beta)
148 gamma = gamma_lib.Gamma(concentration=alpha_v, rate=beta_v)
158 gamma = gamma_lib.Gamma(concentration=alpha_v, rate=beta_v)
168 concentration=alpha_v, rate=beta_v, allow_nan_stats=False)
177 concentration=alpha_v, rate=beta_v, allow_nan_stats=True)
[all …]
Ddirichlet_test.py70 self.assertEqual([1, 3], dist.concentration.get_shape())
71 self.assertAllClose(alpha, self.evaluate(dist.concentration))
88 concentration = 3 * np.ones((10, 10)).astype(np.float32)
89 concentration[range(10), range(10)] = 1.
92 dist = dirichlet_lib.Dirichlet(concentration)
159 dirichlet = dirichlet_lib.Dirichlet(concentration=alpha)
208 dirichlet = dirichlet_lib.Dirichlet(concentration=alpha)
221 dirichlet = dirichlet_lib.Dirichlet(concentration=alpha)
228 concentration=alpha, allow_nan_stats=False)
235 concentration=alpha, allow_nan_stats=True)
[all …]
Ddirichlet_multinomial_test.py75 self.assertEqual([1, 3], dist.concentration.get_shape())
76 self.assertAllClose(alpha, dist.concentration)
442 concentration=1. + 2. * self._rng.rand(4, 3, 2).astype(np.float32))
472 concentration=1. + 2. * self._rng.rand(4).astype(np.float32))
498 concentration = constant_op.constant([0.1, 0.1, 0.1])
501 tape.watch(concentration)
504 concentration=concentration)
507 samples, [total_count, concentration])
/external/guava/guava-tests/benchmark/com/google/common/cache/
DLoadingCacheSingleThreadBenchmark.java45 double concentration; field in LoadingCacheSingleThreadBenchmark
60 max = Ints.checkedCast((long) Math.pow(distinctKeys, concentration)); in setUp()
103 return (int) Math.pow(a, 1.0 / concentration); in nextRandomKey()
/external/guava/android/guava-tests/benchmark/com/google/common/cache/
DLoadingCacheSingleThreadBenchmark.java45 double concentration; field in LoadingCacheSingleThreadBenchmark
60 max = Ints.checkedCast((long) Math.pow(distinctKeys, concentration)); in setUp()
103 return (int) Math.pow(a, 1.0 / concentration); in nextRandomKey()
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.distributions.-dirichlet.pbtxt16 name: "concentration"
49 …argspec: "args=[\'self\', \'concentration\', \'validate_args\', \'allow_nan_stats\', \'name\'], va…
Dtensorflow.distributions.-dirichlet-multinomial.pbtxt16 name: "concentration"
53 …argspec: "args=[\'self\', \'total_count\', \'concentration\', \'validate_args\', \'allow_nan_stats…
Dtensorflow.distributions.-gamma.pbtxt16 name: "concentration"
49 …argspec: "args=[\'self\', \'concentration\', \'rate\', \'validate_args\', \'allow_nan_stats\', \'n…
Dtensorflow.distributions.-exponential.pbtxt17 name: "concentration"
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_StatelessRandomGammaV2.pbtxt19 The concentration of the gamma distribution. Shape must match the rightmost
/external/icu/icu4c/source/test/testdata/cldr/units/
DunitPreferencesTest.txt62 concentration; blood-glucose; AG; 662435483600000000000000; 6.624354836E23; item-per-cubic-meter; 1…
63 concentration; blood-glucose; AG; 602214076000000000000000; 6.02214076E23; item-per-cubic-meter; 1;…
64 concentration; blood-glucose; AG; 541992668400000000000000; 5.419926684E23; item-per-cubic-meter; 9…
66 concentration; default; 001; 11 / 10; 1.1; item-per-cubic-meter; 11 / 10; 1.1; item-per-cubic-meter
67 concentration; default; 001; 1; 1.0; item-per-cubic-meter; 1; 1.0; item-per-cubic-meter
68 concentration; default; 001; 9 / 10; 0.9; item-per-cubic-meter; 9 / 10; 0.9; item-per-cubic-meter
DunitsTest.txt34 concentration ; millimole-per-liter ; item-per-cubic-meter ; 602,214,076,000,000,000,000,000 * x ; …
/external/cldr/common/testData/units/
DunitPreferencesTest.txt62 concentration; blood-glucose; AG; 662435483600000000000000; 6.624354836E23; item-per-cubic-meter; 1…
63 concentration; blood-glucose; AG; 602214076000000000000000; 6.02214076E23; item-per-cubic-meter; 1;…
64 concentration; blood-glucose; AG; 541992668400000000000000; 5.419926684E23; item-per-cubic-meter; 9…
66 concentration; default; 001; 11 / 10; 1.1; item-per-cubic-meter; 11 / 10; 1.1; item-per-cubic-meter
67 concentration; default; 001; 1; 1.0; item-per-cubic-meter; 1; 1.0; item-per-cubic-meter
68 concentration; default; 001; 9 / 10; 0.9; item-per-cubic-meter; 9 / 10; 0.9; item-per-cubic-meter
DunitsTest.txt34 concentration ; millimole-per-liter ; item-per-cubic-meter ; 602,214,076,000,000,000,000,000 * x ; …
/external/icu/android_icu4j/src/main/tests/android/icu/dev/data/cldr/units/
DunitPreferencesTest.txt62 concentration; blood-glucose; AG; 662435483600000000000000; 6.624354836E23; item-per-cubic-meter; 1…
63 concentration; blood-glucose; AG; 602214076000000000000000; 6.02214076E23; item-per-cubic-meter; 1;…
64 concentration; blood-glucose; AG; 541992668400000000000000; 5.419926684E23; item-per-cubic-meter; 9…
66 concentration; default; 001; 11 / 10; 1.1; item-per-cubic-meter; 11 / 10; 1.1; item-per-cubic-meter
67 concentration; default; 001; 1; 1.0; item-per-cubic-meter; 1; 1.0; item-per-cubic-meter
68 concentration; default; 001; 9 / 10; 0.9; item-per-cubic-meter; 9 / 10; 0.9; item-per-cubic-meter
DunitsTest.txt34 concentration ; millimole-per-liter ; item-per-cubic-meter ; 602,214,076,000,000,000,000,000 * x ; …
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/cldr/units/
DunitPreferencesTest.txt62 concentration; blood-glucose; AG; 662435483600000000000000; 6.624354836E23; item-per-cubic-meter; 1…
63 concentration; blood-glucose; AG; 602214076000000000000000; 6.02214076E23; item-per-cubic-meter; 1;…
64 concentration; blood-glucose; AG; 541992668400000000000000; 5.419926684E23; item-per-cubic-meter; 9…
66 concentration; default; 001; 11 / 10; 1.1; item-per-cubic-meter; 11 / 10; 1.1; item-per-cubic-meter
67 concentration; default; 001; 1; 1.0; item-per-cubic-meter; 1; 1.0; item-per-cubic-meter
68 concentration; default; 001; 9 / 10; 0.9; item-per-cubic-meter; 9 / 10; 0.9; item-per-cubic-meter
DunitsTest.txt34 concentration ; millimole-per-liter ; item-per-cubic-meter ; 602,214,076,000,000,000,000,000 * x ; …
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DUnitPreferenceSource.txt20 concentration; default; 001; ; ; item-per-cubic-meter
21 concentration; blood-glucose; AG AI AO AU BA BG BH BM BN BW BY CA CH CM CN CZ DK DM EE FI FJ GB GD …
/external/icu/icu4c/source/data/misc/
Dunits.txt547 "concentration"{
1914 item-per-cubic-meter{"concentration"}

12