Home
last modified time | relevance | path

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

/external/libtextclassifier/native/annotator/
Dannotator.h244 struct ScoredChunk { struct
380 std::vector<ScoredChunk>* scored_chunks) const;
389 std::vector<ScoredChunk>* scored_chunks) const;
Dannotator.cc2909 std::vector<ScoredChunk> scored_chunks; in ModelChunk()
2927 [](const ScoredChunk& lhs, const ScoredChunk& rhs) { in ModelChunk()
2936 for (const ScoredChunk& scored_chunk : scored_chunks) { in ModelChunk()
2982 std::vector<ScoredChunk>* scored_chunks) const { in ModelClickContextScoreChunks()
3042 scored_chunks->push_back(ScoredChunk{entry.first, entry.second}); in ModelClickContextScoreChunks()
3052 std::vector<ScoredChunk>* scored_chunks) const { in ModelBoundsSensitiveScoreChunks()
3085 scored_chunks->push_back(ScoredChunk{candidate_span, 0.0f}); in ModelBoundsSensitiveScoreChunks()
3128 ScoredChunk{candidate_spans[i], logits.data()[i - batch_start]}); in ModelBoundsSensitiveScoreChunks()