Home
last modified time | relevance | path

Searched refs:sample_count (Results 1 – 10 of 10) sorted by relevance

/packages/modules/DnsResolver/
Dres_stats.cpp44 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()
Dstats.h40 uint8_t sample_count; member
Dres_cache.cpp1735 << ", 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/
Drandom_multinomial_float16.mod.py18 sample_count = Int32Scalar("sample_count", 128) variable
22 model = Model().Operation("RANDOM_MULTINOMIAL", input0, sample_count, seeds).To(output0)
Drandom_multinomial.mod.py18 sample_count = Int32Scalar("sample_count", 128) variable
22 model = Model().Operation("RANDOM_MULTINOMIAL", input0, sample_count, seeds).To(output0)
/packages/modules/NeuralNetworks/common/operations/
DMultinomial.cpp75 const uint32_t sample_count = in Prepare() local
79 outputShape->dimensions = {batch_size, sample_count}; in Prepare()
DMultinomialTest.cpp67 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/
Dresolv_cache_unit_test.cpp113 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()
Dresolv_integration_test.cpp1073 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/
DTestValidateOperations.cpp2968 ANeuralNetworksOperandType sample_count = {.type = ANEURALNETWORKS_INT32, in randomMultinomialOpTest() local
2987 {input, sample_count, seed}, {output}); in randomMultinomialOpTest()