Home
last modified time | relevance | path

Searched refs:num_vals (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
Dutils_neon.cc40 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 …]
Dutils.h233 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 …]
Dimage_utils.h94 const int num_vals, float* const G);
102 const int num_vals, float* const G) { in CalculateG() argument
104 CalculateGNeon(vals_x, vals_y, num_vals, G); in CalculateG()
109 for (int i = 0; i < num_vals; ++i) { in CalculateG()
120 const int16_t* const vals_y, const int num_vals, in CalculateGInt16() argument
123 for (int i = 0; i < num_vals; ++i) { in CalculateGInt16()
Dimage_neon.cc202 const int num_vals, float* const G) { in CalculateGNeon() argument
214 const int max_i = num_vals - 4; in CalculateGNeon()
257 for (; i < num_vals; ++i) { in CalculateGNeon()
/external/mesa3d/src/compiler/nir/
Dnir_from_ssa.c623 int num_vals = 0; in resolve_parallel_copy() local
630 for (int i = 0; i < num_vals; ++i) { in resolve_parallel_copy()
635 src_idx = num_vals++; in resolve_parallel_copy()
642 for (int i = 0; i < num_vals; ++i) { in resolve_parallel_copy()
654 dest_idx = num_vals++; in resolve_parallel_copy()
672 for (int i = 0; i < num_vals; i++) { in resolve_parallel_copy()
706 assert(num_vals < num_copies * 2); in resolve_parallel_copy()
714 values[num_vals].is_ssa = false; in resolve_parallel_copy()
715 values[num_vals].reg.reg = reg; in resolve_parallel_copy()
717 emit_copy(&state->builder, values[b], values[num_vals]); in resolve_parallel_copy()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dembedding_ops_test.py349 num_vals = 30
353 id_vals = np.random.randint(vocab_size, size=num_vals)
372 num_vals = 30
376 id_vals = np.random.randint(vocab_size, size=num_vals)
395 num_vals = 30
399 id_vals = np.random.randint(vocab_size, size=num_vals)
421 num_vals = 30
425 id_vals = np.random.randint(vocab_size, size=num_vals)
446 num_vals = 30
450 id_vals = np.random.randint(vocab_size, size=num_vals)
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_test_arit.c431 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/libcups/cups/
Dppd-mark.c916 int num_vals; /* Number of values */ in ppd_mark_option() local
926 num_vals = cupsParseOptions(choice, 0, &vals); in ppd_mark_option()
928 for (i = 0, val = vals; i < num_vals; i ++, val ++) in ppd_mark_option()
977 cupsFreeOptions(num_vals, vals); in ppd_mark_option()
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dembedding_ops_test.py676 num_vals = np.sum(vals_per_batch_entry)
678 ids = np.random.randint(vocab_size, size=num_vals)
679 weights = 1 + np.random.rand(num_vals)
/external/tensorflow/tensorflow/core/kernels/
Dquantization_utils_test.cc654 const int num_vals = 4; in TestOverflowWithEigen() local
657 TensorShape shape({num_vals}); in TestOverflowWithEigen()
/external/syzkaller/sys/windows/
Dwindows.txt1964 RegQueryMultipleValuesA(hKey ptr[inout, intptr], val_list ptr[inout, intptr], num_vals int32, lpVal…