Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
co63oc committed Jun 28, 2023
1 parent 83883f8 commit 5fa12f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions paconvert/api_mapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@
"Matcher": "GenericMatcher",
"paddle_api": "paddle.linalg.inv",
"args_list": [
"input",
"A",
"out"
],
"kwargs_change": {
"input": "x"
"A": "x"
}
},
"torch.linalg.qr": {
Expand Down
2 changes: 1 addition & 1 deletion tests/test_linalg_inv.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def test_case_2():
x = torch.tensor([[0.02773777, 0.93004224, 0.06911496],
[0.24831591, 0.45733623, 0.07717843],
[0.48016702, 0.14235102, 0.42620817]])
result = torch.linalg.inv(input=x)
result = torch.linalg.inv(A=x)
"""
)
obj.run(pytorch_code, ["result"])
Expand Down

0 comments on commit 5fa12f8

Please sign in to comment.