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

Method __setstate__

codegeex/megatron/data/indexed_dataset.py:477–478  ·  view source on GitHub ↗
(self, state)

Source from the content-addressed store, hash-verified

475 return self._path
476
477 def __setstate__(self, state):
478 self._do_init(state)
479
480 def _do_init(self, path, skip_warmup):
481 self._path = path

Callers

nothing calls this directly

Calls 1

_do_initMethod · 0.95

Tested by

no test coverage detected