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

Method string

codegeex/mindspore/src/code_tokenizer.py:115–116  ·  view source on GitHub ↗
(self, idx: int)

Source from the content-addressed store, hash-verified

113 return self._idx[sym]
114
115 def string(self, idx: int):
116 return self._symbols[idx]
117
118 def map_token(self, token: Union[int, str]):
119 if isinstance(token, int):

Callers 2

decode_tokensMethod · 0.95
performHttpPostMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected