Searched defs:score (Results 1 - 25 of 87) sorted by relevance

1234

/external/tensorflow/tensorflow/contrib/lite/models/smartreply/demo/app/src/main/java/com/example/android/smartreply/
H A DSmartReply.java29 private final float score; field in class:SmartReply
32 public SmartReply(String text, float score) { argument
34 this.score = score;
42 return score;
/external/tensorflow/tensorflow/examples/speech_commands/
H A Drecognize_commands_test.cc32 float score; local
35 results, 0, &found_command, &score, &is_new_command));
48 float score; local
52 results, current_time_ms, &found_command, &score, &is_new_command));
67 float score; local
71 results, current_time_ms, &found_command, &score, &is_new_command));
89 float score; local
92 .ProcessLatestResults(bad_results, 0, &found_command, &score,
104 float score; local
107 results, 100, &found_command, &score,
[all...]
H A Drecognize_commands.cc37 float* score,
71 *score = 0.0f;
76 // Calculate the average score across all the results in the window.
86 // Sort the averaged results in descending score order.
99 // See if the latest top score is enough to trigger a detection.
122 *score = current_top_score;
34 ProcessLatestResults(const Tensor& latest_results, const int64 current_time_ms, string* found_command, float* score, bool* is_new_command) argument
H A Dlabel_wav.cc170 const float score = scores_flat(pos); local
172 << "): " << score; local
/external/compiler-rt/lib/asan/
H A Dasan_scariness_score.h19 // redzone), etc. Every such feature has an int score and a string description.
20 // The overall score is the sum of all feature scores and the description
46 score += add_to_score;
48 int GetScore() const { return score; }
51 if (score && flags()->print_scariness)
52 Printf("SCARINESS: %d (%s)\n", score, descr);
54 static void PrintSimple(int score, const char *descr) { argument
56 SS.Scare(score, descr);
61 int score = 0; member in class:__asan::ScarinessScore
/external/libchrome/base/process/
H A Dmemory_stubs.cc18 bool AdjustOOMScore(ProcessId process, int score) { argument
H A Dmemory_linux.cc164 bool AdjustOOMScore(ProcessId process, int score) { argument
165 if (score < 0 || score > kMaxOomScore)
173 std::string score_str = IntToString(score);
181 // style file and translate the oom_adj score to the range 0-15.
184 // Max score for the old oom_adj range. Used for conversion of new
188 int converted_score = score * kMaxOldOomScore / kMaxOomScore;
/external/libtextclassifier/util/math/
H A Dsoftmax.cc85 const float score = scores[i]; local
86 if (score > max) max = score;
90 const float score = scores[i]; local
93 const float exp_score = score - max < -16.0f ? 0 : VeryFastExp(score - max);
/external/valgrind/coregrind/
H A Dpub_core_transtab.h137 ULong score; member in struct:_SBProfEntry
/external/tensorflow/tensorflow/contrib/lite/models/smartreply/
H A Dpredictor.h46 PredictorResponse(const std::string& response_text, float score) { argument
48 prediction_score_ = score;
/external/tensorflow/tensorflow/python/keras/_impl/keras/wrappers/
H A Dscikit_learn.py58 `predict_proba`, and `score` methods (e.g., `epochs`, `batch_size`).
62 `fit`, `predict`, `predict_proba`, and `score` methods
65 `fit`, `predict`, `predict_proba` and `score` methods
273 def score(self, x, y, **kwargs): member in class:KerasClassifier
286 score: float
336 def score(self, x, y, **kwargs): member in class:KerasRegressor
349 score: float
/external/webp/src/utils/
H A Dfilters_utils.c58 int score = 0; local
61 score += i;
64 if (score < best_score) {
65 best_score = score;
/external/libtextclassifier/
H A Dtext-classifier_test.cc194 const bool enabled_for_annotation, const float score) {
204 result->target_classification_score = score;
205 result->priority_score = score;
1072 const float score) {
1075 result.classification.push_back({collection, score});
191 MakePattern( const std::string& collection_name, const std::string& pattern, const bool enabled_for_classification, const bool enabled_for_selection, const bool enabled_for_annotation, const float score) argument
1070 MakeAnnotatedSpan(CodepointSpan span, const std::string& collection, const float score) argument
H A Dtext-classifier.h167 float score; member in struct:libtextclassifier2::TextClassifier::ScoredChunk
/external/mesa3d/src/gallium/state_trackers/wgl/
H A Dstw_ext_pixelformat.c348 /* Find out if a given attribute should be considered for score calculation.
360 * score points.
370 * the score is set to 0 points, effectively removing the pixelformat
378 * value, the pixelformat is rejected (score set to 0). However, if the actual
407 /* Allocate and initialize pixelformat score table -- better matches
408 * have higher scores. Start with a high score and take out penalty
410 * Set a score to 0 if there is a mismatch for an exact match criteria.
421 /* Given the attribute list calculate a score for each pixelformat.
453 struct stw_pixelformat_score score = scores[i - 1]; local
456 scores[i] = score;
[all...]
/external/tensorflow/tensorflow/contrib/factorization/python/ops/
H A Dgmm.py114 def score(self, input_fn=None, batch_size=None, steps=None): member in class:GMM
/external/tensorflow/tensorflow/contrib/lite/kernels/
H A Dlsh_projection.cc117 double score = 0.0; local
134 score += running_value;
136 score += weight->data.f[i] * running_value;
140 return (score > 0) ? 1 : 0;
/external/tensorflow/tensorflow/core/kernels/
H A Dgpu_utils.h45 // when the winner's score exceeds the threshold.
57 (iter->second.score < min_score_threshold_ &&
74 } else if (iter->second.score < min_score_threshold_ &&
76 DCHECK_GT(iter->second.score, 0);
80 new_score = --iter->second.score;
89 new_score = ++iter->second.score;
135 int32 score; member in struct:tensorflow::AutoTuneMap::ValueType
/external/tensorflow/tensorflow/core/util/ctc/
H A Dctc_beam_search_test.cc32 // caches the expansion score (needed by the scorer).
34 float score; member in struct:__anon26802::HistoryBeamState
47 root->score = 0;
64 return previous_score + state.score;
69 return state.score;
95 state->score = std::log(1.0);
100 state->score = std::log(0.01);
163 float score[batch_size][top_paths] = {{0.0}}; local
164 Eigen::Map<Eigen::MatrixXf> scores(&score[0][0], batch_size, top_paths);
213 float score[batch_siz local
308 float score[batch_size][top_paths] = {{0.0}}; local
[all...]
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
H A DRecognizeCommands.java69 public final float score; field in class:RecognizeCommands.RecognitionResult
74 score = inScore;
80 public final float score; field in class:RecognizeCommands.ScoreForSorting
84 score = inScore;
90 if (this.score > other.score) {
92 } else if (this.score < other.score) {
145 // Calculate the average score across all the results in the window.
156 // Sort the averaged results in descending score orde
[all...]
/external/apache-xml/src/main/java/org/apache/xpath/patterns/
H A DNodeTest.java144 * Statically calculated score for this test. One of
155 * The match score if the pattern consists of just a NodeTest.
162 * The match score if the pattern pattern has the form NCName:*.
169 * The match score if the pattern has the form
177 * The match score if the pattern consists of something
185 * The match score if no match is made.
261 * calculating the score that this test will return if a test succeeds.
277 * calculating the score that this test will return if a test succeeds.
301 * Get the static score for this node test.
310 * Set the static score fo
313 setStaticScore(XNumber score) argument
[all...]
/external/brotli/c/enc/
H A Dhash_longest_match_inc.h152 |out|->score is updated only if a better match is found. */
165 score_t min_score = out->score;
166 score_t best_score = out->score;
194 a few unnecessary binary logarithms in backward reference score,
196 score_t score = BackwardReferenceScoreUsingLastDistance(len); local
197 if (best_score < score) {
198 if (i != 0) score -= BackwardReferencePenaltyUsingLastDistance(i);
199 if (best_score < score) {
200 best_score = score;
204 out->score
237 score_t score = BackwardReferenceScore(len, backward); local
[all...]
H A Dhash_longest_match_quickly_inc.h126 |out|->score is updated only if a better match is found. */
138 score_t min_score = out->score;
139 score_t best_score = out->score;
151 const score_t score = BackwardReferenceScoreUsingLastDistance(len); local
152 if (best_score < score) {
153 best_score = score;
157 out->score = best_score;
185 const score_t score = BackwardReferenceScore(len, backward); local
186 if (best_score < score) {
189 out->score
211 const score_t score = BackwardReferenceScore(len, backward); local
[all...]
/external/curl/lib/
H A Dconncache.c476 timediff_t score; local
490 /* Set higher score for the age passed since the connection was used */
491 score = Curl_timediff(now, conn->now);
493 if(score > highscore) {
494 highscore = score;
526 timediff_t score; local
548 /* Set higher score for the age passed since the connection was used */
549 score = Curl_timediff(now, conn->now);
551 if(score > highscore) {
552 highscore = score;
[all...]
/external/freetype/src/autofit/
H A Dafwarp.c68 /* the new best score is equal to the old one, prefer the */
127 /* score the length of the segments for the given range */
132 /* find best score */
139 AF_WarpScore score = scores[idx]; local
143 if ( score > warper->best_score ||
144 ( score == warper->best_score &&
147 warper->best_score = score;

Completed in 788 milliseconds

1234