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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]