masahi commented on code in PR #12563:
URL: https://github.com/apache/tvm/pull/12563#discussion_r953302670
##########
tests/python/frontend/pytorch/test_forward.py:
##########
@@ -814,6 +814,14 @@ def test_forward_log_sigmoid():
verify_model(torch.nn.LogSigmoid().eval(), input_data=input_data)
[email protected]_gpu
+def test_forward_log_sigmoid_overflow():
+ """test_forward_log_sigmoid"""
+ torch.set_grad_enabled(False)
+ input_data = torch.tensor([-300.0, -100.0).float()
Review Comment:
There is a syntax error.
--
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]