Use FVP NPU output as the efficientnet golden - #10
Merged
Merged
Conversation
Replace the host TFLite reference ofm0 with the Ethos-U85 output captured on the Corstone-320 FVP via the evaluation kit's inference_compare use case (Vela 5.2.0, AmbiqHP_HBLRAM, Dedicated_Sram_1MB, same seed-22 ifm0). Eight of 1000 elements move by 1-3 LSB from softmax rounding; top-1 is unchanged. Command stream, weights and npz are untouched.
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The changes are consistent; the remaining documentation concern is a non-blocking nit.
Review effort: Lite
Findings: None
What changed in this PR
Updates EfficientNet-Lite0 golden outputs to match Ethos-U85 FVP results.
Changes:
- Adjusts eight output values in the golden artifacts.
- Synchronizes the generated C output array.
- Leaves command stream, weights, and NPZ data unchanged.
| File | Description |
|---|---|
example_models/efficientnet_lite0_s8_lg/src/efficientnet_lite0_s8_lg_golden_output.txt |
Updated golden output values |
example_models/efficientnet_lite0_s8_lg/ofm0.txt |
Updated reference output values |
example_models/efficientnet_lite0_s8_lg/efficientnet_lite0_s8_lg_data.h |
Synchronized embedded output array |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #9, which merged before this commit landed on the branch.
Replaces the host TFLite reference ofm0 for efficientnet_lite0_s8_lg with the Ethos-U85 output captured on the Corstone-320 FVP via the evaluation kit's inference_compare use case (Vela 5.2.0, AmbiqHP_HBLRAM, Dedicated_Sram_1MB, same seed-22 ifm0). Eight of 1000 elements move by 1 to 3 LSB from softmax rounding; top-1 is unchanged. Command stream, weights and npz are untouched. This matches the values the RTL testbench received.