Home
last modified time | relevance | path

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

/dports/graphics/tesseract/tesseract-5.0.0/src/lstm/
H A Drecodebeam.cpp37 const int RecodeBeamSearch::kBeamWidths[RecodedCharID::kMaxCodeLen + 1] = { member in tesseract::RecodeBeamSearch
98 ComputeTopN(output.f(t), output.NumFeatures(), kBeamWidths[0]); in Decode()
113 ComputeTopN(output[t], output.dim2(), kBeamWidths[0]); in Decode()
136 output.NumFeatures(), kBeamWidths[0]); in DecodeSecondaryBeams()
815 PushHeapIfBetter(kBeamWidths[0], &step->best_initial_dawgs_[c], in DecodeStep()
886 PushHeapIfBetter(kBeamWidths[0], &step->best_initial_dawgs_[c], in DecodeSecondaryStep()
1080 if (dawg_heap->size() >= kBeamWidths[0] && in ContinueDawg()
1082 nodawg_heap->size() >= kBeamWidths[0] && in ContinueDawg()
1128 PushHeapIfBetter(kBeamWidths[0], code, unichar_id, permuter, false, in ContinueDawg()
1181 PushHeapIfBetter(kBeamWidths[length], code, unichar_id, in PushDupOrNoDawgIfBetter()
[all …]
H A Drecodebeam.h400 static const int kBeamWidths[RecodedCharID::kMaxCodeLen + 1]; variable