Home
last modified time | relevance | path

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

/external/libtextclassifier/annotator/
Dannotator.h275 struct ScoredChunk { struct
411 std::vector<ScoredChunk>* scored_chunks) const;
420 std::vector<ScoredChunk>* scored_chunks) const;
Dannotator.cc2090 std::vector<ScoredChunk> scored_chunks; in ModelChunk()
2108 [](const ScoredChunk& lhs, const ScoredChunk& rhs) { in ModelChunk()
2117 for (const ScoredChunk& scored_chunk : scored_chunks) { in ModelChunk()
2163 std::vector<ScoredChunk>* scored_chunks) const { in ModelClickContextScoreChunks()
2224 scored_chunks->push_back(ScoredChunk{entry.first, entry.second}); in ModelClickContextScoreChunks()
2234 std::vector<ScoredChunk>* scored_chunks) const { in ModelBoundsSensitiveScoreChunks()
2268 scored_chunks->push_back(ScoredChunk{candidate_span, 0.0f}); in ModelBoundsSensitiveScoreChunks()
2311 ScoredChunk{candidate_spans[i], logits.data()[i - batch_start]}); in ModelBoundsSensitiveScoreChunks()