MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / IsByte

Method IsByte

external/sentencepiece/src/sentencepiece_processor.cc:994–997  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

992}
993
994bool SentencePieceProcessor::IsByte(int id) const {
995 CHECK_STATUS_OR_RETURN_DEFAULT(false);
996 return model_->IsByte(id);
997}
998
999int SentencePieceProcessor::unk_id() const {
1000 const int id = PieceToId(absl::string_view(model_->unk_piece().data()));

Callers 1

extract_piecesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected