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/04/21 16:56:23 UTC

[GitHub] [tvm] AndrewZhaoLuo commented on a diff in pull request #10924: [FQ2I] Add log op to FQ2I

AndrewZhaoLuo commented on code in PR #10924:
URL: https://github.com/apache/tvm/pull/10924#discussion_r855398918


##########
python/tvm/relay/qnn/op/legalizations.py:
##########
@@ -72,6 +72,7 @@ def legalize_qnn_unary_op(attrs, inputs, types):
 register_qnn_unary_op_legalize("qnn.erf", special.erf)
 register_qnn_unary_op_legalize("qnn.sigmoid", lambda arr: 1 / (1 + np.exp(-arr)))
 register_qnn_unary_op_legalize("qnn.tanh", np.tanh)
+register_qnn_unary_op_legalize("qnn.log", np.log)

Review Comment:
   oh yeah im dumb



-- 
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