Update loss and metric function weighting logic in keras.
- Fixes divide by zero error when all batch weights are 0. - Unifies the logic between the existing keras metrics and the new metrics module. - This change is not backward compatible (since logic is different). PiperOrigin-RevId: 207311700
Loading
Please sign in to comment