Searched refs:max_num_wordpieces_in_window (Results 1 – 2 of 2) sorted by relevance
96 WordpieceSpan ExpandWindowAndAlign(int max_num_wordpieces_in_window, in ExpandWindowAndAlign() argument99 if (wordpiece_span_to_expand.length() >= max_num_wordpieces_in_window) { in ExpandWindowAndAlign()103 0, wordpiece_span_to_expand.begin - ((max_num_wordpieces_in_window - in ExpandWindowAndAlign()106 if ((window_first_wordpiece_index + max_num_wordpieces_in_window) > in ExpandWindowAndAlign()109 std::max(num_wordpieces - max_num_wordpieces_in_window, 0); in ExpandWindowAndAlign()113 std::min(window_first_wordpiece_index + max_num_wordpieces_in_window, in ExpandWindowAndAlign()120 int max_num_wordpieces_in_window) { in FindWordpiecesWindowAroundSpan() argument124 max_num_wordpieces_in_window, num_wordpieces, wordpiece_span_to_expand); in FindWordpiecesWindowAroundSpan()
50 int max_num_wordpieces_in_window);53 WordpieceSpan ExpandWindowAndAlign(int max_num_wordpieces_in_window,