MCPcopy Create free account
hub / github.com/PaddlePaddle/FastDeploy / __json__

Method __json__

fastdeploy/eplb/utils.py:41–42  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

39 os.makedirs(redundant_expert_meta_dir, exist_ok=True)
40
41 def __json__(self):
42 return self.__dict__
43
44 def dump(self):
45 """Dump the object to a JSON file."""

Callers 2

loadMethod · 0.95
test_json_methodMethod · 0.95

Calls

no outgoing calls

Tested by 1

test_json_methodMethod · 0.76