MCPcopy
hub / github.com/geekcomputers/Python / load

Method load

ML/src/python/neuralforge/config.py:44–47  ·  view source on GitHub ↗
(cls, path: str)

Source from the content-addressed store, hash-verified

42
43 @classmethod
44 def load(cls, path: str) -> 'Config':
45 with open(path, 'r') as f:
46 data = json.load(f)
47 return cls(**data)
48
49 def update(self, **kwargs):
50 for key, value in kwargs.items():

Callers 15

get_likes_on_FB.pyFile · 0.45
find_tf_idfFunction · 0.45
mainFunction · 0.45
greetingMethod · 0.45
user_nameMethod · 0.45
directorychooserFunction · 0.45
nextsongFunction · 0.45
prevsongFunction · 0.45
diction.pyFile · 0.45

Calls 1

clsFunction · 0.85

Tested by 2

__init__Method · 0.36
load_modelMethod · 0.36