/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/ |
D | negative_binomial_test.py | 39 total_count = [2.0] * 5 41 total_count=total_count, probs=probs) 51 total_count = [[2.]] * 5 53 total_count=total_count, probs=probs) 65 total_count=3., logits=logits) 90 total_count=invalid_rs, probs=0.1, validate_args=True) 91 negbinom.total_count.eval() 98 total_count = 5. 101 total_count=total_count, probs=probs) 102 expected_log_cdf = stats.nbinom.logcdf(x, n=total_count, p=1 - probs_v) [all …]
|
D | binomial_test.py | 33 binom = binomial.Binomial(total_count=1., probs=p) 43 binom = binomial.Binomial(total_count=n, probs=p) 54 binom = binomial.Binomial(total_count=n, probs=p) 55 self.assertEqual((2, 1), binom.total_count.get_shape()) 56 self.assertAllClose(n, binom.total_count.eval()) 61 binom = binomial.Binomial(total_count=3., probs=p) 69 binom = binomial.Binomial(total_count=3., logits=logits) 78 binom = binomial.Binomial(total_count=n, probs=p, validate_args=True) 97 binom = binomial.Binomial(total_count=n, probs=p, validate_args=True) 111 binom = binomial.Binomial(total_count=n, probs=p, validate_args=False) [all …]
|
/external/tensorflow/tensorflow/contrib/distributions/python/ops/ |
D | negative_binomial.py | 64 total_count, argument 103 with ops.name_scope(name, values=[total_count, logits, probs]) as name: 107 [check_ops.assert_positive(total_count)] if validate_args else []): 108 self._total_count = array_ops.identity(total_count) 120 def total_count(self): member in NegativeBinomial 136 array_ops.shape(self.total_count), 141 self.total_count.get_shape(), 156 alpha=self.total_count, 169 return math_ops.betainc(self.total_count, 1. + x, 179 return (self.total_count * math_ops.log_sigmoid(-self.logits) [all …]
|
D | binomial.py | 151 total_count, argument 184 with ops.name_scope(name, values=[total_count, logits, probs]) as name: 186 ops.convert_to_tensor(total_count, name="total_count"), 205 def total_count(self): member in Binomial 221 array_ops.shape(self.total_count), 226 self.total_count.get_shape(), 253 return _bdtr(k=counts, n=self.total_count, p=probs) 258 (self.total_count - counts) * math_ops.log1p(-self.probs)) 262 return (math_ops.lgamma(1. + self.total_count - counts) 264 - math_ops.lgamma(1. + self.total_count)) [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/distributions/ |
D | multinomial_test.py | 41 dist = multinomial.Multinomial(total_count=1., probs=p) 52 dist = multinomial.Multinomial(total_count=n, probs=p) 63 dist = multinomial.Multinomial(total_count=n, probs=p) 64 self.assertEqual((2, 1), dist.total_count.get_shape()) 65 self.assertAllClose(n, dist.total_count.eval()) 71 dist = multinomial.Multinomial(total_count=3., probs=p) 81 multinom = multinomial.Multinomial(total_count=3., logits=logits) 91 dist = multinomial.Multinomial(total_count=1., logits=logits) 100 dist = multinomial.Multinomial(total_count=n, probs=p, validate_args=True) 115 total_count=n, probs=p, validate_args=True) [all …]
|
D | dirichlet_multinomial_test.py | 67 self.assertEqual([1, 1], dist.total_count.get_shape()) 68 self.assertAllClose(n, dist.total_count.eval()) 439 total_count=5., 469 total_count=5., 495 total_count = constant_op.constant(5.0) 498 tape.watch(total_count) 501 total_count=total_count, 505 samples, [total_count, concentration])
|
/external/tensorflow/tensorflow/core/kernels/ |
D | depthtospace_op_gpu.cu.cc | 159 const int total_count = in operator ()() local 161 if (total_count == 0) { in operator ()() 164 CudaLaunchConfig config = GetCudaLaunchConfig(total_count, d); in operator ()() 194 const int total_count = batch_size * output_depth_by_input_area; in operator ()() local 195 if (total_count == 0) { in operator ()() 198 CudaLaunchConfig config = GetCudaLaunchConfig(total_count, d); in operator ()() 203 0, d.stream(), total_count, input.data(), input_width, in operator ()() 210 0, d.stream(), total_count, input.data(), input_width, in operator ()() 217 0, d.stream(), total_count, input.data(), input_width, in operator ()() 225 const int total_count = batch_size * input_depth_by_input_area; in operator ()() local [all …]
|
D | spacetodepth_op_gpu.cu.cc | 155 const int total_count = in operator ()() local 157 if (total_count == 0) { in operator ()() 160 CudaLaunchConfig config = GetCudaLaunchConfig(total_count, d); in operator ()() 190 const int total_count = batch_size * input_depth_by_output_area; in operator ()() local 191 if (total_count == 0) { in operator ()() 194 CudaLaunchConfig config = GetCudaLaunchConfig(total_count, d); in operator ()() 199 0, d.stream(), total_count, input.data(), output_width, in operator ()() 206 0, d.stream(), total_count, input.data(), output_width, in operator ()() 213 0, d.stream(), total_count, input.data(), output_width, in operator ()() 221 const int total_count = batch_size * output_depth_by_output_area; in operator ()() local [all …]
|
D | dilation_ops_gpu.cu.cc | 196 const int total_count = batch * output_rows * output_cols * depth; in operator ()() local 197 CudaLaunchConfig config = GetCudaLaunchConfig(total_count, d); in operator ()() 227 int total_count; in operator ()() local 231 total_count = batch * input_rows * input_cols * depth; in operator ()() 232 config = GetCudaLaunchConfig(total_count, d); in operator ()() 235 total_count, in_backprop.data())); in operator ()() 238 total_count = batch * output_rows * output_cols * depth; in operator ()() 239 config = GetCudaLaunchConfig(total_count, d); in operator ()() 269 int total_count; in operator ()() local 273 total_count = filter_rows * filter_cols * depth; in operator ()() [all …]
|
D | crop_and_resize_op_gpu.cu.cc | 364 const int total_count = num_boxes * crop_height * crop_width * depth; in operator ()() local 372 if (total_count > 0) { in operator ()() 373 CudaLaunchConfig config = GetCudaLaunchConfig(total_count, d); in operator ()() 402 int total_count; in operator ()() local 406 total_count = batch * image_height * image_width * depth; in operator ()() 407 if (total_count > 0) { in operator ()() 408 config = GetCudaLaunchConfig(total_count, d); in operator ()() 421 total_count = num_boxes * crop_height * crop_width * depth; in operator ()() 422 if (total_count > 0) { in operator ()() 423 config = GetCudaLaunchConfig(total_count, d); in operator ()() [all …]
|
D | bias_op_gpu.cu.cc | 82 const int32 total_count = batch * bias_size * image_size; in compute() local 83 if (total_count == 0) { in compute() 86 CudaLaunchConfig config = GetCudaLaunchConfig(total_count, d); in compute() 165 int32 total_count = batch * image_size; in BiasGradNCHW_SharedAtomics() local 168 index < total_count; index += blockDim.x * group_size) { in BiasGradNCHW_SharedAtomics() 203 const int32 total_count = batch * bias_size * image_size; in compute() local 204 if (total_count == 0) { in compute() 208 CudaLaunchConfig config = GetCudaLaunchConfig(total_count, d); in compute() 220 d.stream()>>>(total_count, output_backprop, bias_backprop, in compute() 241 d.stream(), total_count, output_backprop, bias_backprop, bias_size)); in compute() [all …]
|
D | resize_bilinear_op_gpu.cu.cc | 279 const int total_count = batch * out_height * out_width * channels; in operator ()() local 280 if (total_count == 0) return; in operator ()() 282 CudaLaunchConfig config = GetCudaLaunchConfig(total_count, d); in operator ()() 315 int total_count; in operator ()() local 319 total_count = batch * original_height * original_width * channels; in operator ()() 320 if (total_count == 0) return; in operator ()() 321 config = GetCudaLaunchConfig(total_count, d); in operator ()() 327 total_count = batch * resized_height * resized_width * channels; in operator ()() 328 config = GetCudaLaunchConfig(total_count, d); in operator ()()
|
D | population_count_op_gpu.cu.cc | 72 int64 total_count = input.size(); \ 73 CudaLaunchConfig config = GetCudaLaunchConfig(total_count, d); \ 76 total_count, input.data(), output.data())); \
|
D | spacetobatch_functor_gpu.cu.cc | 133 int64 total_count = 1; in operator ()() local 136 total_count *= args.batch_tensor_shape[dim]; in operator ()() 138 if (total_count > std::numeric_limits<int32>::max()) { in operator ()() 143 GetCudaLaunchConfig(static_cast<int32>(total_count), d); in operator ()()
|
/external/tensorflow/tensorflow/python/ops/distributions/ |
D | dirichlet_multinomial.py | 176 total_count, argument 204 with ops.name_scope(name, values=[total_count, concentration]) as name: 213 self._total_count = ops.convert_to_tensor(total_count, name="total_count") 234 def total_count(self): member in DirichletMultinomial 262 n_draws = math_ops.cast(self.total_count, dtype=dtypes.int32) 287 self.total_count, counts) 294 return self.total_count * (self.concentration / 325 return x * (self.total_count * scale - x) 332 return math_ops.sqrt((1. + c0 / self.total_count) / (1. + c0)) 353 self.total_count, math_ops.reduce_sum(counts, -1),
|
D | multinomial.py | 161 total_count, argument 195 with ops.name_scope(name, values=[total_count, logits, probs]) as name: 196 self._total_count = ops.convert_to_tensor(total_count, name="total_count") 220 def total_count(self): member in Multinomial 247 n_draws = math_ops.cast(self.total_count, dtype=dtypes.int32) 289 return -distribution_util.log_combinations(self.total_count, counts) 296 self.total_count)[..., array_ops.newaxis] 304 self.total_count)[..., array_ops.newaxis] 314 self.total_count, math_ops.reduce_sum(counts, -1),
|
/external/u-boot/board/armltd/integrator/ |
D | timer.c | 35 static unsigned long long total_count = 0; variable 80 total_count = 0ULL; in timer_init() 127 total_count += lastdec + TIMER_LOAD_VAL + 1 - now; in get_timer_masked() 129 total_count += lastdec - now; in get_timer_masked() 134 now = total_count; in get_timer_masked()
|
/external/jemalloc/test/ |
D | test.sh.in | 45 total_count=`expr ${pass_count} + ${skip_count} + ${fail_count}` 47 …ite summary: pass: ${pass_count}/${total_count}, skip: ${skip_count}/${total_count}, fail: ${fail_…
|
/external/libtextclassifier/lang_id/features/ |
D | char-ngram-feature.cc | 69 int total_count = 0; in ComputeNgramCounts() local 107 total_count++; in ComputeNgramCounts() 120 return total_count; in ComputeNgramCounts() 132 int total_count = ComputeNgramCounts(sentence); in Evaluate() local 135 const float norm = static_cast<float>(total_count); in Evaluate()
|
D | relevant-script-feature.cc | 62 int total_count = 0; in Evaluate() local 86 total_count++; in Evaluate() 98 const float weight = static_cast<float>(count) / total_count; in Evaluate()
|
/external/jemalloc_new/test/ |
D | test.sh.in | 72 total_count=`expr ${pass_count} + ${skip_count} + ${fail_count}` 74 …ite summary: pass: ${pass_count}/${total_count}, skip: ${skip_count}/${total_count}, fail: ${fail_…
|
/external/autotest/client/site_tests/platform_LowMemoryTest/ |
D | main.js | 4 const total_count = sizeMB* MB / FLOAT64_BYTES; 5 const random_count = total_count * randomRatio; 12 const const_count = total_count * (1 - randomRatio);
|
/external/tensorflow/tensorflow/contrib/seq2seq/python/ops/ |
D | loss.py | 123 total_count = math_ops.cast(math_ops.count_nonzero(weights), 125 crossent = math_ops.div_no_nan(crossent, total_count) 136 total_count = math_ops.cast( 139 crossent = math_ops.div_no_nan(crossent, total_count)
|
/external/libchrome/base/metrics/ |
D | sparse_histogram.cc | 234 Count total_count = snapshot->TotalCount(); in WriteAsciiImpl() local 235 double scaled_total_count = total_count / 100.0; in WriteAsciiImpl() 237 WriteAsciiHeader(total_count, output); in WriteAsciiImpl() 282 void SparseHistogram::WriteAsciiHeader(const Count total_count, in WriteAsciiHeader() argument 285 total_count); in WriteAsciiHeader()
|
/external/e2fsprogs/misc/ |
D | e4defrag.c | 178 static unsigned int total_count; variable 347 total_count++; in calc_entry_counts() 541 total_count, file, extents, extents); in file_check() 554 total_count, file, extents, extents); in file_check() 1058 if (total_count == 1 && regular_count == 1) in file_statistic() 1061 printf("[%u/%u]", defraged_file_count, total_count); in file_statistic() 1166 if (total_count == 1 && regular_count == 1) { in file_statistic() 1214 defraged_file_count, total_count, file); in file_statistic() 1288 defraged_file_count, total_count, file, min(percent, 100)); in print_progress() 1424 printf("[%u/%u]", defraged_file_count, total_count); in file_defrag() [all …]
|