p2pfl.learning.frameworks.flax.flax_learner moduleΒΆ
Flax Learner for P2PFL.
- class p2pfl.learning.frameworks.flax.flax_learner.FlaxLearner(model, data, self_addr='unknown-node', aggregator=None)[source]ΒΆ
Bases:
Learner
Learner for Flax models in P2PFL.
- Parameters:
model (
FlaxModel
) β The FlaxModel instance.data (
P2PFLDataset
) β The P2PFLDataset instance.self_addr (
str
) β The address of this node.