Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[microNPU][ETHOSU] Fix rounding mode in requantize operation #15929

Merged
merged 2 commits into from Oct 16, 2023

Conversation

Aleksei-grovety
Copy link
Contributor

Before the fix, TFL rounding was used in the requantize operation, and this led to a discrepancy in the results in some cases.

cc @lhutton1, @ekalda, @leandron

Before the fix, TFL rounding was used in the requantize operation and this led to a discrepancy in the results in some cases
Copy link
Contributor

@lhutton1 lhutton1 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @Aleksei-grovety!

@lhutton1 lhutton1 merged commit 0276c5a into apache:main Oct 16, 2023
18 checks passed
ysh329 pushed a commit to ysh329/tvm that referenced this pull request Oct 18, 2023
…15929)

Before the fix, TFL rounding was used in the requantize operation and this led to a discrepancy in the results in some cases
Hzfengsy pushed a commit that referenced this pull request Oct 18, 2023
…tion (#15929) (#15946)

[microNPU][ETHOSU] Fix rounding mode in requantize operation (#15929)

Before the fix, TFL rounding was used in the requantize operation and this led to a discrepancy in the results in some cases

Co-authored-by: Aleksei-grovety <113356454+Aleksei-grovety@users.noreply.github.com>
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.

None yet

2 participants