/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/ |
D | utils_neon.cc | 40 float ComputeMeanNeon(const float* const values, const int num_vals) { in ComputeMeanNeon() argument 41 SCHECK(num_vals >= 8, "Not enough values to merit NEON: %d", num_vals); in ComputeMeanNeon() 47 for (; offset <= num_vals - 4; offset += 4) { in ComputeMeanNeon() 55 for (; offset < num_vals; ++offset) { in ComputeMeanNeon() 59 const float mean_neon = sum / static_cast<float>(num_vals); in ComputeMeanNeon() 62 const float mean_cpu = ComputeMeanCpu(values, num_vals); in ComputeMeanNeon() 63 SCHECK(NearlyEqual(mean_neon, mean_cpu, EPSILON * num_vals), in ComputeMeanNeon() 73 const int num_vals, const float mean) { in ComputeStdDevNeon() argument 74 SCHECK(num_vals >= 8, "Not enough values to merit NEON: %d", num_vals); in ComputeStdDevNeon() 82 for (; offset <= num_vals - 4; offset += 4) { in ComputeStdDevNeon() [all …]
|
D | utils.h | 233 float ComputeMeanNeon(const float* const values, const int num_vals); 235 float ComputeStdDevNeon(const float* const values, const int num_vals, 239 const float* const weights, const int num_vals); 243 const int num_vals); 246 inline float ComputeMeanCpu(const float* const values, const int num_vals) { in ComputeMeanCpu() argument 249 for (int i = 1; i < num_vals; ++i) { in ComputeMeanCpu() 252 return sum / static_cast<float>(num_vals); in ComputeMeanCpu() 256 inline float ComputeMean(const float* const values, const int num_vals) { in ComputeMean() argument 259 (num_vals >= 8) ? ComputeMeanNeon(values, num_vals) : in ComputeMean() 261 ComputeMeanCpu(values, num_vals); in ComputeMean() [all …]
|
D | image_utils.h | 93 const int num_vals, float* const G); 101 const int num_vals, float* const G) { in CalculateG() argument 103 CalculateGNeon(vals_x, vals_y, num_vals, G); in CalculateG() 108 for (int i = 0; i < num_vals; ++i) { in CalculateG() 119 const int16_t* const vals_y, const int num_vals, in CalculateGInt16() argument 122 for (int i = 0; i < num_vals; ++i) { in CalculateGInt16()
|
D | image_neon.cc | 201 const int num_vals, float* const G) { in CalculateGNeon() argument 213 const int max_i = num_vals - 4; in CalculateGNeon() 256 for (; i < num_vals; ++i) { in CalculateGNeon()
|
/external/rust/crates/clap/src/ |
D | usage_parser.rs | 69 arg.v.num_vals = match arg.v.val_names { in parse() 247 assert!(a.v.num_vals.is_none()); in create_flag_usage() 256 assert!(a.v.num_vals.is_none()); in create_flag_usage() 265 assert!(b.v.num_vals.is_none()); in create_flag_usage() 274 assert!(c.v.num_vals.is_none()); in create_flag_usage() 283 assert!(d.v.num_vals.is_none()); in create_flag_usage() 292 assert!(e.v.num_vals.is_none()); in create_flag_usage() 301 assert!(e.v.num_vals.is_none()); in create_flag_usage() 307 assert!(e.v.num_vals.is_none()); in create_flag_usage() 314 assert!(e.v.num_vals.is_none()); in create_flag_usage() [all …]
|
D | errors.rs | 755 num_vals: u64, in wrong_number_of_values() 777 c.warning(num_vals.to_string()), in wrong_number_of_values()
|
/external/rust/crates/clap/src/args/arg_builder/ |
D | valued.rs | 16 pub num_vals: Option<u64>, field 32 num_vals: None, in default() 51 self.num_vals = Some(vec.len() as u64); in fill_in() 62 v.num_vals = Some(vec.len() as u64); in from()
|
D | positional.rs | 44 || (a.v.num_vals.is_some() && a.v.num_vals.unwrap() > 1) in from_arg_ref() 54 || (a.v.num_vals.is_some() && a.v.num_vals.unwrap() > 1) in from_arg() 171 fn num_vals(&self) -> Option<u64> { in num_vals() method 172 self.v.num_vals in num_vals()
|
D | option.rs | 88 } else if let Some(num) = self.v.num_vals { in fmt() 150 fn num_vals(&self) -> Option<u64> { in num_vals() method 151 self.v.num_vals in num_vals()
|
D | flag.rs | 97 fn num_vals(&self) -> Option<u64> { in num_vals() method
|
/external/mesa3d/src/compiler/nir/ |
D | nir_from_ssa.c | 639 int num_vals = 0; in resolve_parallel_copy() local 646 for (int i = 0; i < num_vals; ++i) { in resolve_parallel_copy() 651 src_idx = num_vals++; in resolve_parallel_copy() 658 for (int i = 0; i < num_vals; ++i) { in resolve_parallel_copy() 670 dest_idx = num_vals++; in resolve_parallel_copy() 688 for (int i = 0; i < num_vals; i++) { in resolve_parallel_copy() 724 assert(num_vals < num_copies * 2); in resolve_parallel_copy() 735 values[num_vals].is_ssa = false; in resolve_parallel_copy() 736 values[num_vals].reg.reg = reg; in resolve_parallel_copy() 738 emit_copy(&state->builder, values[b], values[num_vals]); in resolve_parallel_copy() [all …]
|
/external/rust/crates/clap/src/args/ |
D | any_arg.rs | 24 fn num_vals(&self) -> Option<u64>; in num_vals() method 83 fn num_vals(&self) -> Option<u64> { in num_vals() function 84 (*self).num_vals() in num_vals()
|
D | arg_matcher.rs | 245 if let Some(num) = o.num_vals() { in needs_more_vals()
|
D | arg.rs | 2649 self.v.num_vals = Some(qty); in number_of_values()
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | embedding_ops_test.py | 350 num_vals = 30 354 id_vals = np.random.randint(vocab_size, size=num_vals) 373 num_vals = 30 377 id_vals = np.random.randint(vocab_size, size=num_vals) 396 num_vals = 30 400 id_vals = np.random.randint(vocab_size, size=num_vals) 422 num_vals = 30 426 id_vals = np.random.randint(vocab_size, size=num_vals) 447 num_vals = 30 451 id_vals = np.random.randint(vocab_size, size=num_vals) [all …]
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_test_arit.c | 431 int num_vals = ((j + 1) * length <= test->num_values) ? length : in test_unary() local 434 for (i = 0; i < num_vals; ++i) { in test_unary() 439 for (i = 0; i < num_vals; ++i) { in test_unary()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/ |
D | functional_control_flow_to_cfg.cc | 84 int num_vals = block->getNumArguments(); in PrepareValsForJump() local 85 result.reserve(num_vals); in PrepareValsForJump() 86 for (int i = 0; i < num_vals; ++i) { in PrepareValsForJump()
|
/external/libcups/cups/ |
D | ppd-mark.c | 915 int num_vals; /* Number of values */ in ppd_mark_option() local 925 num_vals = cupsParseOptions(choice, 0, &vals); in ppd_mark_option() 927 for (i = 0, val = vals; i < num_vals; i ++, val ++) in ppd_mark_option() 979 cupsFreeOptions(num_vals, vals); in ppd_mark_option()
|
/external/tensorflow/tensorflow/python/ops/ |
D | check_ops.py | 254 num_vals = min(summarize, indices_np.shape[0]) 255 data.append('Indices of first %d different values:' % num_vals) 256 data.append(indices_np[:num_vals]) 258 data.append(x_vals.numpy().reshape((-1,))[:num_vals]) 260 data.append(y_vals.numpy().reshape((-1,))[:num_vals])
|
/external/tensorflow/tensorflow/core/kernels/ |
D | quantization_utils_test.cc | 654 const int num_vals = 4; in TestOverflowWithEigen() local 657 TensorShape shape({num_vals}); in TestOverflowWithEigen()
|
/external/rust/crates/clap/src/app/ |
D | validator.rs | 351 if let Some(num) = a.num_vals() { in validate_arg_num_vals()
|
D | mod.rs | 1838 fn num_vals(&self) -> Option<u64> { in num_vals() method
|
D | help.rs | 348 } else if let Some(num) = arg.num_vals() { in val()
|
D | parser.rs | 591 .filter(|p| p.b.settings.is_set(ArgSettings::Multiple) && p.v.num_vals.is_none()) in verify_positionals()
|
/external/mesa3d/src/amd/compiler/ |
D | aco_instruction_selection.cpp | 3047 unsigned num_vals = 0; in emit_load() local 3162 assert(num_vals == 0); in emit_load() 3197 vals[num_vals++] = val; in emit_load() 3204 for (unsigned i = 0; i < num_vals;) { in emit_load() 3205 Temp *const tmp = (Temp *)alloca(num_vals * sizeof(Temp)); in emit_load() 3209 while ((!tmp_size || (tmp_size % component_size)) && i < num_vals) { in emit_load() 3227 assert(i == num_vals); in emit_load() 9771 unsigned num_vals = ctx->cf_info.has_branch ? 1 : (ctx->block->index - loop_header_idx + 1); in visit_loop() local 9772 Operand *const vals = (Operand *)alloca(num_vals * sizeof(Operand)); in visit_loop()
|