Searched refs:span_of_interest (Results 1 – 2 of 2) sorted by relevance
/external/libtextclassifier/ |
D | text-classifier.cc | 1297 const TokenSpan& span_of_interest, in ModelChunk() argument 1307 ExpandTokenSpan(span_of_interest, in ModelChunk() 1318 num_tokens, span_of_interest, inference_span, cached_features, in ModelChunk() 1323 if (!ModelClickContextScoreChunks(num_tokens, span_of_interest, in ModelChunk() 1382 int num_tokens, const TokenSpan& span_of_interest, in ModelClickContextScoreChunks() argument 1390 for (int batch_start = span_of_interest.first; in ModelClickContextScoreChunks() 1391 batch_start < span_of_interest.second; batch_start += max_batch_size) { in ModelClickContextScoreChunks() 1393 std::min(batch_start + max_batch_size, span_of_interest.second); in ModelClickContextScoreChunks() 1453 int num_tokens, const TokenSpan& span_of_interest, in ModelBoundsSensitiveScoreChunks() argument 1470 scored_chunks->reserve(TokenSpanSize(span_of_interest)); in ModelBoundsSensitiveScoreChunks() [all …]
|
D | text-classifier.h | 279 bool ModelChunk(int num_tokens, const TokenSpan& span_of_interest, 288 int num_tokens, const TokenSpan& span_of_interest, 297 int num_tokens, const TokenSpan& span_of_interest,
|