/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) 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 …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | depthtospace_op_gpu.cu.cc | 158 const int total_count = in operator ()() local 160 if (total_count == 0) { in operator ()() 163 GpuLaunchConfig config = GetGpuLaunchConfig(total_count, d); in operator ()() 193 const int total_count = batch_size * output_depth_by_input_area; in operator ()() local 194 if (total_count == 0) { in operator ()() 197 GpuLaunchConfig config = GetGpuLaunchConfig(total_count, d); in operator ()() 202 0, d.stream(), total_count, input.data(), input_width, in operator ()() 209 0, d.stream(), total_count, input.data(), input_width, in operator ()() 216 0, d.stream(), total_count, input.data(), input_width, in operator ()() 224 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 GpuLaunchConfig config = GetGpuLaunchConfig(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 GpuLaunchConfig config = GetGpuLaunchConfig(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 GpuLaunchConfig config = GetGpuLaunchConfig(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 = GetGpuLaunchConfig(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 = GetGpuLaunchConfig(total_count, d); in operator ()() 269 int total_count; in operator ()() local 273 total_count = filter_rows * filter_cols * depth; in operator ()() [all …]
|
D | bias_op_gpu.cu.cc | 83 const int32 total_count = batch * bias_size * image_size; in compute() local 84 if (total_count == 0) { in compute() 89 GetGpuLaunchConfig(total_count, d, BiasNHWCKernel<T>, 0, 0); in compute() 96 GetGpuLaunchConfig(total_count, d, BiasNCHWKernel<T>, 0, 0); in compute() 170 int32 total_count = batch * image_size; in BiasGradNCHW_SharedAtomics() local 173 index < total_count; index += blockDim.x * group_size) { in BiasGradNCHW_SharedAtomics() 221 const int32 total_count = batch * bias_size * image_size; in compute() local 222 if (total_count == 0) { in compute() 226 GpuLaunchConfig config = GetGpuLaunchConfig(total_count, d); in compute() 238 shared_memory_size, d.stream(), total_count, in compute() [all …]
|
D | population_count_op_gpu.cu.cc | 75 int64 total_count = input.size(); \ 76 GpuLaunchConfig config = GetGpuLaunchConfig(total_count, d); \ 79 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 GetGpuLaunchConfig(static_cast<int32>(total_count), d); in operator ()()
|
/external/perfetto/src/trace_processor/metrics/sql/android/ |
D | android_irq_runtime.sql | 40 COUNT(*) AS total_count 57 COUNT(*) AS total_count 73 total_count, 84 total_count AS DOUBLE)), 102 total_count, 113 total_count AS DOUBLE)),
|
/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 / 327 return x * (self.total_count * scale - x) 334 return math_ops.sqrt((1. + c0 / self.total_count) / (1. + c0)) 355 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] 306 self.total_count)[..., array_ops.newaxis] 316 self.total_count, math_ops.reduce_sum(counts, -1),
|
/external/tensorflow/tensorflow/core/kernels/image/ |
D | crop_and_resize_op_gpu.cu.cc | 366 const int total_count = num_boxes * crop_height * crop_width * depth; in operator ()() local 374 if (total_count > 0) { in operator ()() 375 GpuLaunchConfig config = GetGpuLaunchConfig(total_count, d); in operator ()() 405 int total_count; in operator ()() local 409 total_count = batch * image_height * image_width * depth; in operator ()() 410 if (total_count > 0) { in operator ()() 411 config = GetGpuLaunchConfig(total_count, d); in operator ()() 424 total_count = num_boxes * crop_height * crop_width * depth; in operator ()() 425 if (total_count > 0) { in operator ()() 426 config = GetGpuLaunchConfig(total_count, d); in operator ()() [all …]
|
/external/libtextclassifier/native/lang_id/features/ |
D | char-ngram-feature.cc | 70 int total_count = 0; in ComputeNgramCounts() local 108 total_count++; in ComputeNgramCounts() 121 return total_count; in ComputeNgramCounts() 133 int total_count = ComputeNgramCounts(sentence); in Evaluate() local 136 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/libabigail/tests/ |
D | test-utils.cc | 67 unsigned& total_count) in emit_test_status_and_update_counters() argument 80 total_count++; in emit_test_status_and_update_counters() 91 emit_test_summary(unsigned total_count, in emit_test_summary() argument 101 std::cout << "Total number of tests executed: " << total_count in emit_test_summary()
|
D | test-annotate.cc | 145 unsigned int total_count = 0, passed_count = 0, failed_count = 0; in main() local 186 failed_count, total_count); in main() 189 emit_test_summary(total_count, passed_count, failed_count); in main()
|
D | test-alt-dwarf-file.cc | 68 unsigned int total_count = 0, passed_count = 0, failed_count = 0; in main() local 109 failed_count, total_count); in main() 112 emit_test_summary(total_count, passed_count, failed_count); in main()
|
D | test-lookup-syms.cc | 95 unsigned int total_count = 0, passed_count = 0, failed_count = 0; in main() local 138 failed_count, total_count); in main() 141 emit_test_summary(total_count, passed_count, failed_count); in main()
|
D | test-diff-dwarf-abixml.cc | 62 unsigned int total_count = 0, passed_count = 0, failed_count = 0; in main() local 118 failed_count, total_count); in main() 121 emit_test_summary(total_count, passed_count, failed_count); in main()
|
D | test-ini.cc | 87 unsigned int total_count = 0, passed_count = 0, failed_count = 0; in main() local 135 failed_count, total_count); in main() 138 emit_test_summary(total_count, passed_count, failed_count); in main()
|
D | test-utils.h | 31 unsigned& total_count); 33 emit_test_summary(unsigned total_count,
|
/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/compiler/mlir/lite/utils/ |
D | arithmetic_count_util.h | 38 int64_t total_count = 0; in GetInputTensorTotalSize() local 45 total_count += input_type.getNumElements(); in GetInputTensorTotalSize() 47 *count = total_count; in GetInputTensorTotalSize()
|
/external/e2fsprogs/misc/ |
D | e4defrag.c | 178 static unsigned int total_count; variable 347 total_count++; in calc_entry_counts() 542 total_count, file, extents, extents); in file_check() 555 total_count, file, extents, extents); in file_check() 1059 if (defraged_file_count > total_count) in file_statistic() 1060 total_count = defraged_file_count; in file_statistic() 1063 if (total_count == 1 && regular_count == 1) in file_statistic() 1066 printf("[%u/%u]", defraged_file_count, total_count); in file_statistic() 1171 if (total_count == 1 && regular_count == 1) { in file_statistic() 1224 defraged_file_count, total_count, file); in file_statistic() [all …]
|
/external/tensorflow/tensorflow/python/keras/layers/preprocessing/ |
D | normalization.py | 193 total_count = batch_count + self.count 196 math_ops.cast(total_count, dtype=self.dtype)) 208 self.count.assign(total_count) 227 total_count = math_ops.reduce_sum(layer_counts) 230 math_ops.cast(total_count, self.dtype)) 242 self.count.assign(total_count)
|