Home
last modified time | relevance | path

Searched refs:probabilities (Results 1 – 25 of 119) sorted by relevance

12345

/external/deqp/modules/egl/
DteglGLES2SharingThreadedTests.cpp2069 float probabilities[THREADOPERATIONID_LAST][THREADOPERATIONID_LAST]; member
2110 deMemset(probabilities, 0, sizeof(probabilities)); in TestConfig()
2282 weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_CREATE_BUFFER]); in addRandomOperation()
2285 weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_CREATE_TEXTURE]); in addRandomOperation()
2288 weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_CREATE_VERTEX_SHADER]); in addRandomOperation()
2291 …weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_CREATE_FRAGMENT_SHADER… in addRandomOperation()
2294 weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_CREATE_PROGRAM]); in addRandomOperation()
2468 weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_DESTROY_IMAGE]); in addRandomOperation()
2473 weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_TEXTURE_FROM_IMAGE]); in addRandomOperation()
2481 weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_DESTROY_BUFFER]); in addRandomOperation()
[all …]
/external/tensorflow/tensorflow/lite/micro/examples/magic_wand/
Dgesture_predictor_test.cc25 float probabilities[kGestureCount] = {kDetectionThreshold, 0.0, 0.0, 0.0}; in TF_LITE_MICRO_TEST() local
29 prediction = PredictGesture(probabilities); in TF_LITE_MICRO_TEST()
34 prediction = PredictGesture(probabilities); in TF_LITE_MICRO_TEST()
40 float probabilities[kGestureCount] = {kDetectionThreshold, 0.0, 0.0, 0.0}; in TF_LITE_MICRO_TEST() local
44 prediction = PredictGesture(probabilities); in TF_LITE_MICRO_TEST()
48 probabilities[0] = 0.0; in TF_LITE_MICRO_TEST()
49 probabilities[2] = 1.0; in TF_LITE_MICRO_TEST()
50 prediction = PredictGesture(probabilities); in TF_LITE_MICRO_TEST()
56 float probabilities[kGestureCount] = {kDetectionThreshold - 0.1f, 0.0, 0.0, in TF_LITE_MICRO_TEST() local
61 prediction = PredictGesture(probabilities); in TF_LITE_MICRO_TEST()
/external/openscreen/third_party/abseil/src/absl/random/
Ddiscrete_distribution.cc24 std::vector<double>* probabilities) { in InitDiscreteDistribution() argument
26 assert(probabilities); in InitDiscreteDistribution()
27 assert(!probabilities->empty()); in InitDiscreteDistribution()
30 double sum = std::accumulate(std::begin(*probabilities), in InitDiscreteDistribution()
31 std::end(*probabilities), 0.0); in InitDiscreteDistribution()
35 for (double& item : *probabilities) { in InitDiscreteDistribution()
51 const size_t n = probabilities->size(); in InitDiscreteDistribution()
58 for (const double item : *probabilities) { in InitDiscreteDistribution()
Ddiscrete_distribution.h87 const std::vector<double>& probabilities() const { return p_; } in probabilities() function
91 return a.probabilities() == b.probabilities();
149 const std::vector<double>& probabilities() const { in probabilities() function
150 return param_.probabilities(); in probabilities()
178 std::vector<double>* probabilities);
210 const auto& probabilities = x.param().probabilities();
211 os << probabilities.size();
214 for (const auto& p : probabilities) {
/external/abseil-cpp/absl/random/
Ddiscrete_distribution.cc24 std::vector<double>* probabilities) { in InitDiscreteDistribution() argument
26 assert(probabilities); in InitDiscreteDistribution()
27 assert(!probabilities->empty()); in InitDiscreteDistribution()
30 double sum = std::accumulate(std::begin(*probabilities), in InitDiscreteDistribution()
31 std::end(*probabilities), 0.0); in InitDiscreteDistribution()
35 for (double& item : *probabilities) { in InitDiscreteDistribution()
51 const size_t n = probabilities->size(); in InitDiscreteDistribution()
58 for (const double item : *probabilities) { in InitDiscreteDistribution()
Ddiscrete_distribution.h87 const std::vector<double>& probabilities() const { return p_; } in probabilities() function
91 return a.probabilities() == b.probabilities();
149 const std::vector<double>& probabilities() const { in probabilities() function
150 return param_.probabilities(); in probabilities()
178 std::vector<double>* probabilities);
210 const auto& probabilities = x.param().probabilities();
211 os << probabilities.size();
214 for (const auto& p : probabilities) {
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/
Ddiscrete_distribution.cc24 std::vector<double>* probabilities) { in InitDiscreteDistribution() argument
26 assert(probabilities); in InitDiscreteDistribution()
27 assert(!probabilities->empty()); in InitDiscreteDistribution()
30 double sum = std::accumulate(std::begin(*probabilities), in InitDiscreteDistribution()
31 std::end(*probabilities), 0.0); in InitDiscreteDistribution()
35 for (double& item : *probabilities) { in InitDiscreteDistribution()
51 const size_t n = probabilities->size(); in InitDiscreteDistribution()
58 for (const double item : *probabilities) { in InitDiscreteDistribution()
Ddiscrete_distribution.h87 const std::vector<double>& probabilities() const { return p_; } in probabilities() function
91 return a.probabilities() == b.probabilities();
149 const std::vector<double>& probabilities() const { in probabilities() function
150 return param_.probabilities(); in probabilities()
178 std::vector<double>* probabilities);
210 const auto& probabilities = x.param().probabilities();
211 os << probabilities.size();
214 for (const auto& p : probabilities) {
/external/libtextclassifier/abseil-cpp/absl/random/
Ddiscrete_distribution.cc24 std::vector<double>* probabilities) { in InitDiscreteDistribution() argument
26 assert(probabilities); in InitDiscreteDistribution()
27 assert(!probabilities->empty()); in InitDiscreteDistribution()
30 double sum = std::accumulate(std::begin(*probabilities), in InitDiscreteDistribution()
31 std::end(*probabilities), 0.0); in InitDiscreteDistribution()
35 for (double& item : *probabilities) { in InitDiscreteDistribution()
51 const size_t n = probabilities->size(); in InitDiscreteDistribution()
58 for (const double item : *probabilities) { in InitDiscreteDistribution()
Ddiscrete_distribution.h87 const std::vector<double>& probabilities() const { return p_; } in probabilities() function
91 return a.probabilities() == b.probabilities();
149 const std::vector<double>& probabilities() const { in probabilities() function
150 return param_.probabilities(); in probabilities()
178 std::vector<double>* probabilities);
210 const auto& probabilities = x.param().probabilities();
211 os << probabilities.size();
214 for (const auto& p : probabilities) {
/external/webrtc/third_party/abseil-cpp/absl/random/
Ddiscrete_distribution.cc24 std::vector<double>* probabilities) { in InitDiscreteDistribution() argument
26 assert(probabilities); in InitDiscreteDistribution()
27 assert(!probabilities->empty()); in InitDiscreteDistribution()
30 double sum = std::accumulate(std::begin(*probabilities), in InitDiscreteDistribution()
31 std::end(*probabilities), 0.0); in InitDiscreteDistribution()
35 for (double& item : *probabilities) { in InitDiscreteDistribution()
51 const size_t n = probabilities->size(); in InitDiscreteDistribution()
58 for (const double item : *probabilities) { in InitDiscreteDistribution()
Ddiscrete_distribution.h87 const std::vector<double>& probabilities() const { return p_; } in probabilities() function
91 return a.probabilities() == b.probabilities();
149 const std::vector<double>& probabilities() const { in probabilities() function
150 return param_.probabilities(); in probabilities()
178 std::vector<double>* probabilities);
210 const auto& probabilities = x.param().probabilities();
211 os << probabilities.size();
214 for (const auto& p : probabilities) {
/external/angle/third_party/abseil-cpp/absl/random/
Ddiscrete_distribution.cc24 std::vector<double>* probabilities) { in InitDiscreteDistribution() argument
26 assert(probabilities); in InitDiscreteDistribution()
27 assert(!probabilities->empty()); in InitDiscreteDistribution()
30 double sum = std::accumulate(std::begin(*probabilities), in InitDiscreteDistribution()
31 std::end(*probabilities), 0.0); in InitDiscreteDistribution()
35 for (double& item : *probabilities) { in InitDiscreteDistribution()
51 const size_t n = probabilities->size(); in InitDiscreteDistribution()
58 for (const double item : *probabilities) { in InitDiscreteDistribution()
Ddiscrete_distribution.h87 const std::vector<double>& probabilities() const { return p_; } in probabilities() function
91 return a.probabilities() == b.probabilities();
149 const std::vector<double>& probabilities() const { in probabilities() function
150 return param_.probabilities(); in probabilities()
178 std::vector<double>* probabilities);
210 const auto& probabilities = x.param().probabilities();
211 os << probabilities.size();
214 for (const auto& p : probabilities) {
/external/llvm-project/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.discrete/
Dctor_init.pass.cpp28 std::vector<double> p = d.probabilities(); in main()
35 std::vector<double> p = d.probabilities(); in main()
42 std::vector<double> p = d.probabilities(); in main()
50 std::vector<double> p = d.probabilities(); in main()
58 std::vector<double> p = d.probabilities(); in main()
67 std::vector<double> p = d.probabilities(); in main()
76 std::vector<double> p = d.probabilities(); in main()
Dctor_iterator.pass.cpp28 std::vector<double> p = d.probabilities(); in main()
36 std::vector<double> p = d.probabilities(); in main()
44 std::vector<double> p = d.probabilities(); in main()
53 std::vector<double> p = d.probabilities(); in main()
62 std::vector<double> p = d.probabilities(); in main()
72 std::vector<double> p = d.probabilities(); in main()
82 std::vector<double> p = d.probabilities(); in main()
Dparam_ctor_init.pass.cpp29 std::vector<double> p = pa.probabilities(); in main()
37 std::vector<double> p = pa.probabilities(); in main()
45 std::vector<double> p = pa.probabilities(); in main()
54 std::vector<double> p = pa.probabilities(); in main()
63 std::vector<double> p = pa.probabilities(); in main()
73 std::vector<double> p = pa.probabilities(); in main()
83 std::vector<double> p = pa.probabilities(); in main()
Dparam_ctor_iterator.pass.cpp29 std::vector<double> p = pa.probabilities(); in main()
38 std::vector<double> p = pa.probabilities(); in main()
47 std::vector<double> p = pa.probabilities(); in main()
57 std::vector<double> p = pa.probabilities(); in main()
67 std::vector<double> p = pa.probabilities(); in main()
78 std::vector<double> p = pa.probabilities(); in main()
89 std::vector<double> p = pa.probabilities(); in main()
Deval.pass.cpp39 std::vector<double> prob = d.probabilities(); in main()
57 std::vector<double> prob = d.probabilities(); in main()
75 std::vector<double> prob = d.probabilities(); in main()
93 std::vector<double> prob = d.probabilities(); in main()
111 std::vector<double> prob = d.probabilities(); in main()
129 std::vector<double> prob = d.probabilities(); in main()
147 std::vector<double> prob = d.probabilities(); in main()
168 std::vector<double> prob = d.probabilities(); in main()
189 std::vector<double> prob = d.probabilities(); in main()
210 std::vector<double> prob = d.probabilities(); in main()
[all …]
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.discrete/
Dctor_init.pass.cpp27 std::vector<double> p = d.probabilities(); in main()
34 std::vector<double> p = d.probabilities(); in main()
41 std::vector<double> p = d.probabilities(); in main()
49 std::vector<double> p = d.probabilities(); in main()
57 std::vector<double> p = d.probabilities(); in main()
66 std::vector<double> p = d.probabilities(); in main()
75 std::vector<double> p = d.probabilities(); in main()
Dparam_ctor_init.pass.cpp28 std::vector<double> p = pa.probabilities(); in main()
36 std::vector<double> p = pa.probabilities(); in main()
44 std::vector<double> p = pa.probabilities(); in main()
53 std::vector<double> p = pa.probabilities(); in main()
62 std::vector<double> p = pa.probabilities(); in main()
72 std::vector<double> p = pa.probabilities(); in main()
82 std::vector<double> p = pa.probabilities(); in main()
Dctor_iterator.pass.cpp27 std::vector<double> p = d.probabilities(); in main()
35 std::vector<double> p = d.probabilities(); in main()
43 std::vector<double> p = d.probabilities(); in main()
52 std::vector<double> p = d.probabilities(); in main()
61 std::vector<double> p = d.probabilities(); in main()
71 std::vector<double> p = d.probabilities(); in main()
81 std::vector<double> p = d.probabilities(); in main()
Dparam_ctor_iterator.pass.cpp28 std::vector<double> p = pa.probabilities(); in main()
37 std::vector<double> p = pa.probabilities(); in main()
46 std::vector<double> p = pa.probabilities(); in main()
56 std::vector<double> p = pa.probabilities(); in main()
66 std::vector<double> p = pa.probabilities(); in main()
77 std::vector<double> p = pa.probabilities(); in main()
88 std::vector<double> p = pa.probabilities(); in main()
Deval.pass.cpp38 std::vector<double> prob = d.probabilities(); in main()
56 std::vector<double> prob = d.probabilities(); in main()
74 std::vector<double> prob = d.probabilities(); in main()
92 std::vector<double> prob = d.probabilities(); in main()
110 std::vector<double> prob = d.probabilities(); in main()
128 std::vector<double> prob = d.probabilities(); in main()
146 std::vector<double> prob = d.probabilities(); in main()
167 std::vector<double> prob = d.probabilities(); in main()
188 std::vector<double> prob = d.probabilities(); in main()
209 std::vector<double> prob = d.probabilities(); in main()
[all …]
/external/tensorflow/tensorflow/lite/tools/evaluation/stages/
Dtopk_accuracy_eval_stage.cc87 std::vector<float> probabilities; in Run() local
88 probabilities.reserve(num_total_labels_); in Run()
92 probabilities.push_back(probs[i]); in Run()
97 probabilities.push_back(probs[i]); in Run()
102 probabilities.push_back(probs[i]); in Run()
106 std::vector<int> top_k = GetTopKIndices(probabilities, params.k()); in Run()

12345