Skip to content

Conversation

JanFSchulte
Copy link
Collaborator

The use of auto can lead to very wide bit width for the output of layers. If this is followed by a softmax layer, the LUT for the softmax is not fine enough to resolve the values and the model output will be wrong.

To avoid this, this PR manually fixes the output precision of the relevant Dense layers to be 16,6, following @jmitrevs suggestion.

@jmitrevs jmitrevs merged commit b1d2c30 into main Sep 16, 2025
2 checks 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