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

Method Apply

library/cpp/text_processing/dictionary/bpe_dictionary.cpp:111–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111TTokenId TBpeDictionary::Apply(TStringBuf) const {
112 Y_ENSURE(false, "This method is unimplemented for TBpeDictionary.");
113}
114
115static std::function<TMaybe<TTokenId>(const TUnit& unit)> GetUnitToTokenIdFunc(
116 const THashMap<std::pair<TTokenId, TTokenId>, TTokenId>& sourceTokenIdsToTokenId

Callers 4

ApplyDictionaryToFileMethod · 0.45
ApplyImplFunction · 0.45
AddTokenFunction · 0.45
Y_UNIT_TESTFunction · 0.45

Calls 4

GetUnitToTokenIdFuncFunction · 0.85
ApplyImplFunction · 0.70
GetMethod · 0.45

Tested by

no test coverage detected