Refactored some of the metrics code in compile function for better readability.
- Logic change: Moved getting metric name and function out of the training/eval loops in eager mode - Moved setting metric attributes on the model out the function which calls metric functions. PiperOrigin-RevId: 213060143
Loading
Please sign in to comment