MCPcopy
hub / github.com/FedML-AI/FedML / local_training

Method local_training

python/examples/flow/fedavg/test_fedml_flow.py:24–28  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

22 self.model = model
23
24 def local_training(self):
25 logging.info("local_training start")
26 params = self.get_params()
27 model_params = params.get(Params.KEY_MODEL_PARAMS)
28 return params
29
30 def handle_init_global_model(self):
31 received_params = self.get_params()

Callers

nothing calls this directly

Calls 3

infoMethod · 0.45
get_paramsMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected