MCPcopy Create free account
hub / github.com/THUDM/GLM / __repr__

Method __repr__

model/modeling_bert.py:252–253  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

250 return cls.from_dict(json.loads(text))
251
252 def __repr__(self):
253 return str(self.to_json_string())
254
255 def to_dict(self):
256 """Serializes this instance to a Python dictionary."""

Callers

nothing calls this directly

Calls 1

to_json_stringMethod · 0.95

Tested by

no test coverage detected