Home
last modified time | relevance | path

Searched refs:ScoredChunk (Results 1 – 2 of 2) sorted by relevance

/external/libtextclassifier/native/annotator/
Dannotator.h247 struct ScoredChunk { struct
383 std::vector<ScoredChunk>* scored_chunks) const;
392 std::vector<ScoredChunk>* scored_chunks) const;
Dannotator.cc2926 std::vector<ScoredChunk> scored_chunks; in ModelChunk()
2944 [](const ScoredChunk& lhs, const ScoredChunk& rhs) { in ModelChunk()
2953 for (const ScoredChunk& scored_chunk : scored_chunks) { in ModelChunk()
2999 std::vector<ScoredChunk>* scored_chunks) const { in ModelClickContextScoreChunks()
3059 scored_chunks->push_back(ScoredChunk{entry.first, entry.second}); in ModelClickContextScoreChunks()
3069 std::vector<ScoredChunk>* scored_chunks) const { in ModelBoundsSensitiveScoreChunks()
3102 scored_chunks->push_back(ScoredChunk{candidate_span, 0.0f}); in ModelBoundsSensitiveScoreChunks()
3145 ScoredChunk{candidate_spans[i], logits.data()[i - batch_start]}); in ModelBoundsSensitiveScoreChunks()