MCPcopy Create free account
hub / github.com/zai-org/CodeGeeX / __len__

Method __len__

codegeex/mindspore/src/tokenization_jieba.py:52–53  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

50 return len(self.encoder)
51
52 def __len__(self):
53 return len(self.encoder) + len(self.special_tokens)
54
55 @property
56 def eod(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected