-
Notifications
You must be signed in to change notification settings - Fork 579
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add SparseCategoricalAccuracy metric back to example after clearing t…
…he cached session whenever wrapping a Keras model. This workaround isn't needed when compiling against TF master; but TFF is pinned the most recent public release (TF 1.13.1). Additionally: - Fixed s/metrics/losses/ module path for loss function - Change test model to output tensors of length 1 rather than scalars (required by Keras) PiperOrigin-RevId: 236652882
- Loading branch information
1 parent
117464b
commit c4d6cd2
Showing
4 changed files
with
21 additions
and
14 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
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