Conversation
|
Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.
Generated by tvm-bot |
| @run_math_api | ||
| def test_forward_tanh(): | ||
| pass | ||
| # @run_math_api |
There was a problem hiding this comment.
looks it shouldn't be commented out
| @@ -0,0 +1,10 @@ | |||
| import numpy as np | |||
| import onnx | |||
| rhs = _op.log(one+_op.exp(x))* _op.cast((x<=threshold),dtype) | ||
| softplus = lhs + rhs | ||
| out = x*_op.tanh(softplus) | ||
| # op_func = get_relay_op("multiply") |
There was a problem hiding this comment.
looks these comments are not necessary
|
I'm very sorry. This is my first PR, and i want to PR to the branch forked by my classmate for further modification. This was a wrong operation. I apologize again. |
Thanks for the contribution! No worries at all, welcome to send it out if it's ready! |
添加mish算子