Skip to content

[hannk] requantize() should never skip the operation#6350

Merged
steven-johnson merged 3 commits intomasterfrom
srj/hannk-relu
Oct 26, 2021
Merged

[hannk] requantize() should never skip the operation#6350
steven-johnson merged 3 commits intomasterfrom
srj/hannk-relu

Conversation

@steven-johnson
Copy link
Copy Markdown
Contributor

Even if inq == outq, the incoming buffer can contain out-of-range values; we shouldn't try to optimize the op away, since it's cheap.

Even if inq == outq, the incoming buffer can contain out-of-range values;  we shouldn't try to optimize the op away, since it's cheap.
@steven-johnson
Copy link
Copy Markdown
Contributor Author

Hm, this makes test/misc/SPLIT.1_1_1.tflite fail with Unable to requantize float32 -> float32, investigating

@steven-johnson
Copy link
Copy Markdown
Contributor Author

PTAL

@steven-johnson steven-johnson merged commit 50517cb into master Oct 26, 2021
@steven-johnson steven-johnson deleted the srj/hannk-relu branch October 26, 2021 17:07
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