p2pfl.learning.frameworks.tensorflow.keras_learner moduleΒΆ
Keras learner for P2PFL.
- class p2pfl.learning.frameworks.tensorflow.keras_learner.KerasLearner(model, data, self_addr='unknown-node', aggregator=None)[source]ΒΆ
Bases:
Learner
Learner for TensorFlow/Keras models in P2PFL.
- Parameters:
model (
KerasModel
) β The KerasModel instance.data (
P2PFLDataset
) β The P2PFLDataset instance.self_addr (
str
) β The address of this node.