HomeSort by relevance Sort by last modified time
    Searched defs:scores (Results 1 - 25 of 33) sorted by null

1 2

  /external/tensorflow/tensorflow/python/estimator/export/
export_output.py 59 Either classes or scores or both must be set.
66 If only scores is set, it is interpreted as providing a score for every class
69 If both classes and scores are set, they are interpreted as zipped, so each
74 def __init__(self, scores=None, classes=None):
78 scores: A float `Tensor` giving scores (sometimes but not always
82 but only if `scores` is set. Interpretation varies-- see class doc.
85 ValueError: if neither classes nor scores is set, or one of them is not a
88 if (scores is not None
89 and not (isinstance(scores, ops.Tensor
105 def scores(self): member in class:ClassificationOutput
    [all...]
  /packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
RecentChannelEvaluatorTest.java 146 Map<Long, Double> scores = new HashMap<>(); local
151 scores.put(channelId, mEvaluator.evaluateChannel(channelId));
159 assertThat(mEvaluator.evaluateChannel(channelId)).isAtMost(scores.get(channelId));
  /external/mesa3d/src/gallium/state_trackers/wgl/
stw_ext_pixelformat.c 339 struct stw_pixelformat_score *scores,
374 scores[index].points = 0;
383 scores[index].points = 0;
385 scores[index].points -= (actual_value - expected_value) * ami->weight;
402 struct stw_pixelformat_score *scores; local
408 * have higher scores. Start with a high score and take out penalty
413 scores = (struct stw_pixelformat_score *) MALLOC( count * sizeof( struct stw_pixelformat_score ) );
414 if (scores == NULL)
417 scores[i].points = 0x7fffffff;
418 scores[i].index = i
    [all...]
  /external/tensorflow/tensorflow/core/kernels/
multinomial_op.cc 48 typename TTypes<float>::Flat scores,
60 typename TTypes<float>::Flat /* scores */,
175 Tensor noises, scores, scratch; // Scratch space only used for GPU. variable
186 &scores));
200 noises.flat<float>(), scores.flat<float>(), scratch.flat<float>(),
non_max_suppression_op.cc 42 const Tensor& scores, int* num_boxes) {
51 // The shape of 'scores' is [num_boxes]
52 OP_REQUIRES(context, scores.dims() == 1,
53 errors::InvalidArgument("scores must be 1-D",
54 scores.shape().DebugString()));
55 OP_REQUIRES(context, scores.dim_size(0) == *num_boxes,
56 errors::InvalidArgument("scores has incompatible shape"));
96 const Tensor& scores, const Tensor& max_output_size,
102 ParseAndCheckBoxSizes(context, boxes, scores, &num_boxes);
111 std::copy_n(scores.flat<float>().data(), num_boxes, scores_data.begin())
159 const Tensor& scores = context->input(1); variable
185 const Tensor& scores = context->input(1); variable
    [all...]
  /frameworks/base/packages/ExtServices/src/android/ext/services/autofill/
EditDistanceScorer.java 127 * Gets the scores in a batch.
137 final float[][] scores = new float[actualValuesSize][userDataValuesSize]; local
142 scores[i][j] = score;
145 return scores;
  /external/freetype/src/autofit/
afwarp.c 83 AF_WarpScore scores[65]; local
87 scores[nn] = 0;
129 scores[idx] += af_warper_weights[y & 63] * len;
139 AF_WarpScore score = scores[idx];
aflatin2.c 2058 FT_Pos displacements[6], scores[6], org, fit, delta; local
    [all...]
  /external/tensorflow/tensorflow/contrib/factorization/python/ops/
gmm_ops.py 253 def scores(self): member in class:GmmAlgorithm
501 scores = gmm_tool.scores()
503 return (loss, scores, [assignments], gmm_tool.training_ops(),
  /external/tensorflow/tensorflow/examples/speech_commands/
label_wav.cc 71 // Analyzes the output of the graph to retrieve the highest scores and
77 std::vector<std::pair<int, float>> scores; local
78 scores.reserve(unsorted_scores_flat.size());
80 scores.push_back(std::pair<int, float>({i, unsorted_scores_flat(i)}));
82 std::sort(scores.begin(), scores.end(),
87 scores.resize(how_many_labels);
90 for (int i = 0; i < scores.size(); ++i) {
91 sorted_indices.flat<int>()(i) = scores[i].first;
92 sorted_scores.flat<float>()(i) = scores[i].second
164 Tensor scores; local
    [all...]
  /frameworks/base/core/java/android/service/autofill/
AutofillFieldClassificationService.java 40 * A service that calculates field classification scores.
49 * when calculating the scores).
80 public static final String EXTRA_SCORES = "scores";
87 final float[][] scores = onGetScores(algorithmName, algorithmArgs, actualValues, local
89 if (scores != null) {
90 data.putParcelable(EXTRA_SCORES, new Scores(scores));
114 * Calculates field classification scores in a batch.
123 * specified by the caller when calculating the scores).
164 * @param algorithm name of the algorithm to be used to calculate the scores. If invalid o
202 public final float[][] scores; field in class:AutofillFieldClassificationService.Scores
    [all...]
  /frameworks/base/core/java/android/view/textclassifier/
TextClassifier.java 156 * associated confidence scores. The entity types are ordered from highest to lowest scoring.
175 * associated confidence scores. The entity types are ordered from highest to lowest scoring.
609 final Map<String, Float> scores = new ArrayMap<>(); local
610 scores.put(entityType, 1f);
611 return scores;
  /external/tensorflow/tensorflow/examples/label_image/
main.cc 202 // Analyzes the output of the Inception graph to retrieve the highest scores and
205 Tensor* indices, Tensor* scores) {
219 // The TopK node returns two outputs, the scores and their original indices,
224 *scores = out_tensors[0];
243 Tensor scores; local
244 TF_RETURN_IF_ERROR(GetTopLabels(outputs, how_many_labels, &indices, &scores));
245 tensorflow::TTypes<float>::Flat scores_flat = scores.flat<float>();
261 Tensor scores; local
263 TF_RETURN_IF_ERROR(GetTopLabels(outputs, how_many_labels, &indices, &scores));
  /external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/
StatisticsTool.java 409 int[] scores = new int[file_count]; local
413 scores[c] = checkers[c].checkBuffer(buffer, charCount);
417 int score = scores[c];
  /external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
TensorFlowMultiBoxDetector.java 195 final float[] scores = new float[scoresEncoding.length]; local
197 scores[i] = 1 / ((float) (1 + Math.exp(-scoresEncoding[i])));
199 return scores;
  /external/tensorflow/tensorflow/examples/multibox_detector/
main.cc 179 // Analyzes the output of the MultiBox graph to retrieve the highest scores and
182 Tensor* indices, Tensor* scores) {
196 // The TopK node returns two outputs, the scores and their original indices,
201 *scores = out_tensors[0];
276 Tensor scores; local
278 GetTopDetections(outputs, how_many_labels, &indices, &scores));
280 tensorflow::TTypes<float>::Flat scores_flat = scores.flat<float>();
  /external/tensorflow/tensorflow/contrib/pi_examples/camera/
camera.cc 256 // Analyzes the output of the Inception graph to retrieve the highest scores and
262 std::vector<std::pair<int, float>> scores; local
264 scores.push_back(std::pair<int, float>({i, unsorted_scores_flat(i)}));
266 std::sort(scores.begin(), scores.end(),
271 scores.resize(how_many_labels);
272 Tensor sorted_indices(tensorflow::DT_INT32, {scores.size()});
273 Tensor sorted_scores(tensorflow::DT_FLOAT, {scores.size()});
274 for (int i = 0; i < scores.size(); ++i) {
275 sorted_indices.flat<int>()(i) = scores[i].first
313 Tensor scores; local
    [all...]
  /external/tensorflow/tensorflow/contrib/pi_examples/label_image/
label_image.cc 228 // Analyzes the output of the Inception graph to retrieve the highest scores and
234 std::vector<std::pair<int, float>> scores; local
236 scores.push_back(std::pair<int, float>({i, unsorted_scores_flat(i)}));
238 std::sort(scores.begin(), scores.end(),
243 scores.resize(how_many_labels);
244 Tensor sorted_indices(tensorflow::DT_INT32, {scores.size()});
245 Tensor sorted_scores(tensorflow::DT_FLOAT, {scores.size()});
246 for (int i = 0; i < scores.size(); ++i) {
247 sorted_indices.flat<int>()(i) = scores[i].first
269 Tensor scores; local
287 Tensor scores; local
    [all...]
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
ScoredNetworkEvaluatorTest.java 196 Integer[] scores = {120}; local
199 mScoreCache, scoredScanDetails, scores, meteredHints);
282 Integer[] scores = {null, 120}; local
288 scanDetails, scores, meteredHints);
319 Integer[] scores = {100, 120}; local
327 scanDetails, scores, meteredHints);
359 Integer[] scores = {null, 120}; local
365 scanDetails, scores, meteredHints);
392 Integer[] scores = {120}; local
403 scanDetails, scores, meteredHints)
424 Integer[] scores = {100, 120}; local
457 Integer[] scores = {120, 120}; local
498 Integer[] scores = {100, 120}; local
543 Integer[] scores = {null, null}; local
    [all...]
  /device/generic/goldfish/camera/
EmulatedFakeCamera2.cpp 1484 uint8_t scores[numFaces] = { 85, 95 }; local
    [all...]
  /device/google/cuttlefish_common/guest/hals/camera/
EmulatedFakeCamera2.cpp 1454 uint8_t scores[numFaces] = {85, 95}; local
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/util/
LocaleMatcher.java 505 LinkedHashSet<Row.R3<LocalePatternMatcher,LocalePatternMatcher,Double>> scores = new LinkedHashSet<R3<LocalePatternMatcher, LocalePatternMatcher, Double>>(); field in class:LocaleMatcher.ScoreData
513 // Map<String, Set<R3<LocalePatternMatcher,LocalePatternMatcher,Double>>> lang_result = scores.get(desired);
515 // scores.put(desired, lang_result = new HashMap());
522 boolean added = scores.add(data);
543 for (R3<LocalePatternMatcher,LocalePatternMatcher,Double> datum : scores) { // : result
561 for (R3<LocalePatternMatcher, LocalePatternMatcher, Double> score : scores) {
573 result.scores = (LinkedHashSet<R3<LocalePatternMatcher, LocalePatternMatcher, Double>>) result.scores.clone();
596 for (R3<LocalePatternMatcher, LocalePatternMatcher, Double> item : scores) {
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
LocaleMatcher.java 512 LinkedHashSet<Row.R3<LocalePatternMatcher,LocalePatternMatcher,Double>> scores = new LinkedHashSet<R3<LocalePatternMatcher, LocalePatternMatcher, Double>>(); field in class:LocaleMatcher.ScoreData
520 // Map<String, Set<R3<LocalePatternMatcher,LocalePatternMatcher,Double>>> lang_result = scores.get(desired);
522 // scores.put(desired, lang_result = new HashMap());
529 boolean added = scores.add(data);
550 for (R3<LocalePatternMatcher,LocalePatternMatcher,Double> datum : scores) { // : result
568 for (R3<LocalePatternMatcher, LocalePatternMatcher, Double> score : scores) {
580 result.scores = (LinkedHashSet<R3<LocalePatternMatcher, LocalePatternMatcher, Double>>) result.scores.clone();
603 for (R3<LocalePatternMatcher, LocalePatternMatcher, Double> item : scores) {
    [all...]
  /external/libtextclassifier/
text-classifier.cc 597 std::unordered_map<int, float> scores; local
601 scores[i] = GetPriorityScore(candidates[i].classification);
607 // something and we need the actual classification scores. So if the
618 scores[i] = GetPriorityScore(classification);
623 [&scores](int i, int j) { return scores[i] > scores[j]; });
922 const std::vector<float> scores = local
1422 const std::vector<float> scores = ComputeSoftmax( local
    [all...]
  /cts/tests/autofillservice/src/android/autofillservice/cts/
Helper.java 1209 public final float[] scores; field in class:Helper.FieldClassificationResult
    [all...]

Completed in 1273 milliseconds

1 2