jikechao opened a new pull request, #14845:
URL: https://github.com/apache/tvm/pull/14845

   This PR fixed a similar bug with #14821  in the PaddlePaddle frontend.
   
   For the [PaddlePaddle 
documentation](https://www.paddlepaddle.org.cn/documentation/docs/en/api/paddle/nn/Softplus_en.html),
 when input * beta > threshold, Softplus(x) = x. 
   
![image](https://github.com/apache/tvm/assets/29506758/7311ae30-fc81-4ec5-8d59-ef57281732f3)
   
   TVM miss this special case handling. It would cause wrong inference results.
   
   A patch and a Test case that can trigger this bug are submitted in this PR.
   
   
   cc @Hzfengsy @echuraev 
   
   


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

Reply via email to