Mentions légales du service

Skip to content
Snippets Groups Projects
Verified Commit 4ec87593 authored by ANDREY Paul's avatar ANDREY Paul
Browse files

Fix docstring of 'Scheduler' as to type-registration.

parent a146fc84
No related branches found
No related tags found
1 merge request!69Enable Fairness-Aware Federated Learning
......@@ -99,10 +99,10 @@ class Scheduler(metaclass=abc.ABCMeta):
Inheritance
-----------
When a subclass inheriting from `OptiModule` is declared, it is
automatically registered under the "OptiModule" group using its
When a subclass inheriting from `Scheduler` is declared, it is
automatically registered under the "Scheduler" group using its
class-attribute `name`. This can be prevented by adding `register=False`
to the inheritance specs (e.g. `class MyCls(OptiModule, register=False)`).
to the inheritance specs (e.g. `class MyCls(Scheduler, register=False)`).
See `declearn.utils.register_type` for details on types registration.
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment