Skip to content
Snippets Groups Projects
Commit 997350cd authored by Zachary Garrett's avatar Zachary Garrett
Browse files

Add pytype annotations to shared research training utilities.

Semantic changes:
-  Use the LR schedule with round 0 during the server intializiation.
   Previously this relied on the optimizer builder specifying a default for the
   learning rate, which was overriden in later rounds. Explicitly call with a
   "round 0" learning rate to ensure the documented type is adhered to. This
   can be seen in the type annotations for the `server_optimizer_fn` argument
   to `build_server_init_fn` and `build_fed_avg_process`.

PiperOrigin-RevId: 321237803
parent 6ca78bc5
No related branches found
No related tags found
No related merge requests found
Loading
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