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

[TOPI][Hexagon] Implement quantized avgpool #12340

Merged
merged 17 commits into from
Aug 24, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix formatting issue
jverma-quic committed Aug 8, 2022

Verified

This commit was signed with the committer’s verified signature.
DrJosh9000 Josh Deprez
commit 72fc6cdd01bd0f2bc2311591b3a1d56cb90beba4
1 change: 0 additions & 1 deletion python/tvm/topi/hexagon/utils.py
Original file line number Diff line number Diff line change
@@ -214,7 +214,6 @@ def within_range(val, dtype):
return -32768 <= val <= 32767
raise RuntimeError(f"Unsupported dtype, {dtype}'")


flp_f = struct.pack("f", flp)
flp_i = struct.unpack("I", flp_f)
exp_value = ((flp_i[0] >> 23) & 0xFF) - 127