Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweak AUC test to avoid sharing state across calls in np.apply_along_…
…axis. This was causing issues when porting over to the new test decorators. The root cause is unclear. It's possible that m.reset_states() isn't sufficiently thorough. In any case, avoiding sharing the state altogether solves the issue. Since np.apply_along_axis doesn't seem to gain anything by reusing the `tf.keras.metrics.AUC` instance across calls, it seems safest to avoid reusing it. PiperOrigin-RevId: 274245423
- Loading branch information