You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "jikechao (via GitHub)" <gi...@apache.org> on 2023/07/16 02:56:27 UTC
[GitHub] [tvm] jikechao commented on pull request #15294: [Bug][Relay] fix relay frontend pytorch op addmm bug
jikechao commented on PR #15294:
URL: https://github.com/apache/tvm/pull/15294#issuecomment-1636966274
Change the code format as follows:
```
[2023-07-14T19:08:15.007Z] @tvm.testing.uses_gpu
[2023-07-14T19:08:15.007Z] def test_addmm():
[2023-07-14T19:08:15.007Z] def test_fn(alpha, beta):
[2023-07-14T19:08:15.007Z] - return lambda inp, batch1, batch2: torch.addmm(
[2023-07-14T19:08:15.007Z] - inp, batch1, batch2, beta=beta, alpha=alpha
[2023-07-14T19:08:15.007Z] - )
[2023-07-14T19:08:15.007Z] + return lambda inp, batch1, batch2: torch.addmm(inp, batch1, batch2, beta=beta, alpha=alpha)
```
--
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