/external/tensorflow/tensorflow/lite/models/smartreply/demo/app/src/main/java/com/example/android/smartreply/ |
SmartReply.java | 29 private final float score; field in class:SmartReply 32 public SmartReply(String text, float score) { 34 this.score = score; 42 return score;
|
/external/compiler-rt/lib/asan/ |
asan_scariness_score.h | 19 // 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) { 56 SS.Scare(score, descr); 61 int score = 0; member in class:__asan::ScarinessScore
|
/external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/ |
command_responder.cc | 23 uint8_t score, bool is_new_command) { 25 error_reporter->Report("Heard %s (%d) @%dms", found_command, score,
|
command_responder.h | 26 // argument, `score` has the numerical confidence, and `is_new_command` is set 30 uint8_t score, bool is_new_command);
|
recognize_commands_test.cc | 86 uint8_t score; local 90 &results, 0, &found_command, &score, &is_new_command)); 107 uint8_t score; local 112 &yes_results, current_time_ms, &found_command, &score, 130 uint8_t score; local 137 &no_results, current_time_ms, &found_command, &score, 147 TF_LITE_MICRO_EXPECT_EQ(231, score); 163 uint8_t score; local 167 &bad_results, 0, &found_command, &score, &is_new_command)); 181 uint8_t score; local 202 uint8_t score; local [all...] |
/cts/suite/cts/utils/ |
grapher.py | 54 score = r.get('result', 'no results') 57 if score == 'pass': 60 # Get the score, then trim it to 2 decimal places 61 score = r['summary']['Average Frames Per Second'] 62 score = score[0:score.index('.') + 3] 63 if score != 'no results': 67 lbl = name + ' (%s)'%score
|
/external/autotest/client/site_tests/platform_GesturesRegressionTest/ |
platform_GesturesRegressionTest.py | 23 library and regression tests, and their score changes accordingly. 54 score = value['score'] 55 not_integer = isinstance(score, bool) or not isinstance(score, int) 56 if not_integer and not isinstance(score, float): 57 score = 0.0 58 self.test_results[key.replace('/', '-')] = score 59 self.output_perf_value(key.replace('/', '-'), score, 'points')
|
/external/apache-xml/src/main/java/org/apache/xpath/patterns/ |
FunctionPattern.java | 55 * Static calc of match score. 107 XNumber score = SCORE_NONE; local 115 score = (n == context) ? SCORE_OTHER : SCORE_NONE; 117 if (score == SCORE_OTHER) 129 return score; 151 XNumber score = SCORE_NONE; local 159 score = (n == context) ? SCORE_OTHER : SCORE_NONE; 161 if (score == SCORE_OTHER) 172 return score; 194 XNumber score = SCORE_NONE local [all...] |
ContextMatchStepPattern.java | 90 XObject score = NodeTest.SCORE_NONE; local 119 score = execute(xctxt); 121 if (score != NodeTest.SCORE_NONE) 123 //score = executePredicates( xctxt, prevStep, SCORE_OTHER, 126 return score; 128 score = NodeTest.SCORE_NONE; 147 score = execute(xctxt); 149 if (score != NodeTest.SCORE_NONE) 151 //score = executePredicates( xctxt, prevStep, SCORE_OTHER, 154 if (score != NodeTest.SCORE_NONE [all...] |
/external/tensorflow/tensorflow/lite/java/ovic/src/main/java/org/tensorflow/ovic/ |
BoundingBox.java | 34 public float score; field in class:BoundingBox 36 public BoundingBox(float x1, float y1, float x2, float y2, int category, float score) { 42 this.score = score;
|
/external/tensorflow/tensorflow/examples/speech_commands/ |
recognize_commands_test.cc | 32 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, &is_new_command)) [all...] |
/external/libtextclassifier/utils/math/ |
softmax.cc | 85 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);
|
/frameworks/av/media/utils/ |
ProcessInfo.cpp | 39 int32_t score = INVALID_ADJ; local 40 status_t err = service->getProcessStatesAndOomScoresFromPids(length, &pid, &state, &score); 45 ALOGV("pid %d state %d score %d", pid, state, score); 46 if (score <= NATIVE_ADJ) { 47 ALOGE("pid %d invalid OOM adjustments value %d", pid, score); 52 *priority = score;
|
/external/tensorflow/tensorflow/python/util/ |
dispatch_test.py | 33 def __init__(self, tensor, score): 35 self.score = score 55 (x.score+y.score) / 2.0) 64 self.assertNear(x_plus_y.score, 1.0, 0.001) 86 (x.score + y.score + z.score) / 3.0) 94 self.assertNear(result.score, 0.4, 0.001 [all...] |
/external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/sparkfun_edge/ |
command_responder.cc | 24 uint8_t score, bool is_new_command) { 49 error_reporter->Report("Heard %s (%d) @%dms", found_command, score,
|
/external/brotli/c/enc/ |
hash_longest_match_quickly_inc.h | 126 |out|->score is updated only if a better match is found. */ 139 score_t min_score = out->score; 140 score_t best_score = out->score; 152 const score_t score = BackwardReferenceScoreUsingLastDistance(len); local 153 if (best_score < score) { 154 best_score = score; 158 out->score = best_score; 186 const score_t score = BackwardReferenceScore(len, backward); local 187 if (best_score < score) { 190 out->score = score 212 const score_t score = BackwardReferenceScore(len, backward); local [all...] |
/external/brotli/research/ |
durchschlag.cc | 12 typedef uint32_t Score; 21 Score score; member in struct:MetaSlot 30 Score score; member in struct:Candidate 36 return (a.score > b.score) || 37 ((a.score == b.score) && (a.position < b.position)); 43 return (a.score < b.score) | 91 Score score = 0; local 183 Score score = 0; local 513 Score score = 0; local 612 Score score = 0; local [all...] |
/external/autotest/client/site_tests/graphics_GLMark2/ |
graphics_GLMark2.py | 5 # GLMark outputs a final performance score, and it checks the performance score 21 GLMARK2_SCORE_RE = r'glmark2 Score: (\d+)' 111 score = None 112 # glmark2 output the final performance score as: 113 # glmark2 Score: 530 117 score = int(match[0]) 118 if not score: 119 raise error.TestFail('Failed: Unable to read benchmark score') 121 logging.info('GLMark2 score: %d', score [all...] |
/external/libchrome/base/process/ |
memory_linux.cc | 70 bool AdjustOOMScore(ProcessId process, int score) { 71 if (score < 0 || score > kMaxOomScore) 79 std::string score_str = IntToString(score); 87 // style file and translate the oom_adj score to the range 0-15. 90 // Max score for the old oom_adj range. Used for conversion of new 94 int converted_score = score * kMaxOldOomScore / kMaxOomScore;
|
/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/bsdiff/ |
BsDiffPatchWriter.java | 127 int score = 0; local 133 ++score; 135 --score; 138 if (score > bestScore) { 139 bestScore = score; 150 int score = 0; local 158 ++score; 160 --score; 162 if (score > bestScore) { 163 bestScore = score; 173 int score = 0; local [all...] |
/external/tensorflow/tensorflow/contrib/learn/python/learn/learn_io/ |
io_test.py | 48 score = accuracy_score(labels[0], list(classifier.predict_classes(data))) 49 self.assertGreater(score, 0.5, "Failed with score = {0}".format(score)) 64 score = accuracy_score(labels, list(classifier.predict_classes(data))) 65 self.assertGreater(score, 0.5, "Failed with score = {0}".format(score)) 120 score = accuracy_score(labels.compute(), predictions) 121 self.assertGreater(score, 0.5, "Failed with score = {0}".format(score) [all...] |
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/ |
RecognizeCommands.java | 69 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 order [all...] |
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/ |
RecognizeCommands.java | 69 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 order [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/ |
multi_output_fusion.h | 139 // The pair of candidates to be fused and the profit score. 143 int64 score; member in struct:xla::MultiOutputFusion::ToBeFused 144 ToBeFused(HloInstruction* instr1, HloInstruction* instr2, int64 score) 145 : instr1(instr1), instr2(instr2), score(score) {} 146 bool operator<(const ToBeFused& rhs) const { return score < rhs.score; }
|
/external/tensorflow/tensorflow/lite/models/smartreply/ |
predictor.h | 46 PredictorResponse(const std::string& response_text, float score) { 48 prediction_score_ = score;
|