MCPcopy Create free account
hub / github.com/catboost/catboost / Size

Method Size

library/cpp/text_processing/dictionary/bpe_dictionary.cpp:152–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152ui32 TBpeDictionary::Size() const {
153 return Alphabet->Size() + BpeUnits.size();
154}
155
156TString TBpeDictionary::GetToken(TTokenId tokenId) const {
157 TTokenId minId = GetMinTokenIdForUnits();

Callers 5

AddImplFunction · 0.45
AddImplMethod · 0.45
GetApplyToAllDictsFuncFunction · 0.45
Y_UNIT_TESTFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected