Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions paconvert/api_mapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -13687,9 +13687,6 @@
"kwargs_change": {
"input": "x"
},
"unsupport_args": [
"antialias"
],
"min_input_args": 1
},
"torch.nn.functional.kl_div": {
Expand Down
1 change: 1 addition & 0 deletions paconvert/global_var.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ class GlobalManager:
NO_NEED_CONVERT_LIST = [
# Manfredss
"torch.asin",
"torch.nn.functional.interpolate",

# zhimin
"torch.Tensor.bfloat16",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_nn_functional_interpolate.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def test_case_9():


# TODO: antialias is not supported yet, will be added later
def _test_case_10():
def test_case_10():
pytorch_code = textwrap.dedent(
"""
import torch
Expand Down