forked from google/gematria
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch ports the training class to TF2. Most of the class needs little porting as the TrainingEpochStats class is already completely eager. The partially_restore_from_checkpoint function did not updating to use new TF APIs. Future patches will fix everything up to use proper TF2 APIs, but for now this works. Some future work needs to be done when it comes up in tests to restore the step value as TF2 no longer contains global state. Pull Request: google#283
- Loading branch information
1 parent
867a7fd
commit 4c4930e
Showing
3 changed files
with
49 additions
and
84 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