Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 123 unittests by autofix #358

Merged
merged 11 commits into from
Jan 12, 2024
Merged
Prev Previous commit
fix _stacklevel test case
  • Loading branch information
RedContritio committed Jan 9, 2024
commit b9a7b2c52d7a930643edf3df496f9d2b0a3184ac
3 changes: 0 additions & 3 deletions paconvert/api_mapping.json
Original file line number Diff line number Diff line change
@@ -12026,9 +12026,6 @@
"_stacklevel": "",
"dtype": "dtype"
},
"unsupport_args": [
"_stacklevel"
],
"min_input_args": 1
},
"torch.nn.functional.softplus": {
2 changes: 1 addition & 1 deletion tests/test_nn_functional_softmin.py
Original file line number Diff line number Diff line change
@@ -68,4 +68,4 @@ def test_case_4():
result = F.softmin(input=input, dim=-1, _stacklevel=3, dtype=torch.float64)
"""
)
obj.run(pytorch_code, unsupport=True, reason="_stacklevel is not supported")
obj.run(pytorch_code, ["result"])