MCPcopy Index your code
hub / github.com/geekcomputers/Python / update

Method update

ML/src/python/neuralforge/config.py:49–52  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

47 return cls(**data)
48
49 def update(self, **kwargs):
50 for key, value in kwargs.items():
51 if hasattr(self, key):
52 setattr(self, key, value)
53
54 def __str__(self) -> str:
55 return json.dumps(asdict(self), indent=2)

Callers 2

train_epochMethod · 0.45
trainMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected