ipex-llm
ipex-llm copied to clipboard
fix tf inc metric format
Description
Fix Nano TensorFlow INC metric bug.
related issue https://github.com/intel-analytics/BigDL/issues/5305
3. How to test?
- [x] Unit test
- [x] Jenkins http://10.112.231.51:18889/job/BigDL-Chronos-PR-Validation/653/
@zhentaocc could you help review this?
What's the bug?
What's the bug?
According to Keras API doc, y_true should be first and y_pred after. The current code may make the accuracy calculation wrong. https://keras.io/api/metrics/accuracy_metrics/