You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/08/12 16:13:52 UTC

[GitHub] [tvm] trahman-quic commented on a diff in pull request #12406: [TOPI][Hexagon] Implement quantized elementwise

trahman-quic commented on code in PR #12406:
URL: https://github.com/apache/tvm/pull/12406#discussion_r944617219


##########
python/tvm/topi/hexagon/utils.py:
##########
@@ -151,3 +152,81 @@ def get_layout_transform_fn(layout):
     if layout == "nhwc-8h8w32c-2d":
         return nhwc_8h8w32c_2d
     raise RuntimeError(f"Unexpected layout '{layout}'")
+
+
+def get_fixed_point_value(flp, dtype="int16"):

Review Comment:
   I copied the function from this PR: https://github.com/apache/tvm/pull/12340/files#diff-1697dbb756a60c67fcd89181b9fc9193d44383894adf22ff17a2b7f59255b766R165
   
   If the PR gets merged before mine, I will remove this from my PR



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org