Skip to content

Use FVP NPU output as the efficientnet golden - #10

Merged
mbhssain merged 1 commit into
mainfrom
update-efficientnet-vela-artifacts
Sep 28, 2026
Merged

mbhssain merged 1 commit into
mainfrom
update-efficientnet-vela-artifacts

Conversation

@mbhssain

Copy link
Copy Markdown
Contributor

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.

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.
Copilot AI lite review requested due to automatic review settings September 28, 2026 17:46

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@mbhssain
mbhssain merged commit f16d394 into main Sep 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants