Searched refs:sample_count (Results 1 – 10 of 10) sorted by relevance
/packages/modules/DnsResolver/ |
D | res_stats.cpp | 44 stats->sample_count = stats->sample_next = 0; in _res_stats_clear_samples() 57 for (int i = 0; i < stats->sample_count; ++i) { in android_net_res_stats_aggregate() 98 if (stats->sample_count > 0) { in android_net_res_stats_aggregate() 102 last = stats->samples[stats->sample_count - 1].at; in android_net_res_stats_aggregate()
|
D | stats.h | 40 uint8_t sample_count; member
|
D | res_cache.cpp | 1735 << ", count = " << unsigned(stats->sample_count); in res_cache_add_stats_sample_locked() 1737 if (stats->sample_count < max_samples) { in res_cache_add_stats_sample_locked() 1738 ++stats->sample_count; in res_cache_add_stats_sample_locked() 1747 netconfig->nsstats[i].sample_count = 0; in res_cache_clear_stats_locked()
|
/packages/modules/NeuralNetworks/runtime/test/specs/V1_2/ |
D | random_multinomial_float16.mod.py | 18 sample_count = Int32Scalar("sample_count", 128) variable 22 model = Model().Operation("RANDOM_MULTINOMIAL", input0, sample_count, seeds).To(output0)
|
D | random_multinomial.mod.py | 18 sample_count = Int32Scalar("sample_count", 128) variable 22 model = Model().Operation("RANDOM_MULTINOMIAL", input0, sample_count, seeds).To(output0)
|
/packages/modules/NeuralNetworks/common/operations/ |
D | Multinomial.cpp | 75 const uint32_t sample_count = in Prepare() local 79 outputShape->dimensions = {batch_size, sample_count}; in Prepare()
|
D | MultinomialTest.cpp | 67 const int sample_count = batch_size_ * class_size_; in Invoke() local 68 for (int i = 0; i < sample_count; ++i) { in Invoke()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_cache_unit_test.cpp | 113 if (std::tie(a.sample_count, a.sample_next) != std::tie(b.sample_count, b.sample_next)) { in operator ==() 116 for (int i = 0; i < a.sample_count; i++) { in operator ==() 244 EXPECT_EQ(0U, stats[ns].sample_count) << msg; in expectCacheStats()
|
D | resolv_integration_test.cpp | 1073 int sample_count = 8; in TEST_F() local 1074 const std::vector<int> params = {300, 25, sample_count, sample_count}; in TEST_F() 1082 for (int i = 0; i < sample_count; ++i) { in TEST_F()
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestValidateOperations.cpp | 2968 ANeuralNetworksOperandType sample_count = {.type = ANEURALNETWORKS_INT32, in randomMultinomialOpTest() local 2987 {input, sample_count, seed}, {output}); in randomMultinomialOpTest()
|