-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixing a bug in the ScaleAndShiftDiagonal, which reduces all dimens…
…ions of size 1 when computing gradients, even if the parameter has a one axis of size 1. This leads to incorrect broadcasting later when multiplying with the curvature matrix. * Fix a few smaller bugs in computing Fisher/GGN factor products in the implicit curvature. This does not affect any of the previous usage of the Optimizer class. PiperOrigin-RevId: 453427834
- Loading branch information
Showing
3 changed files
with
94 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters