Skip to content

Commit

Permalink
Tell linter to ignore unused args
Browse files Browse the repository at this point in the history
  • Loading branch information
a-gardner1 committed May 20, 2024
1 parent 6f89cef commit 56c06cf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions onnxscript/function_libs/torch_lib/ops/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -8404,8 +8404,8 @@ def aten_unique(
def aten__unique2(
self: TensorType,
sorted: bool = True,
return_inverse: bool = False,
return_counts: bool = False
return_inverse: bool = False, # pylint: disable=unused-argument
return_counts: bool = False # pylint: disable=unused-argument
) -> tuple[TensorType, TensorType, TensorType]:
"""_unique2(Tensor self, bool sorted=True, bool return_inverse=False, bool return_counts=False) -> (Tensor, Tensor, Tensor)"""

Expand All @@ -8424,8 +8424,8 @@ def aten_unique_dim(
self: TensorType,
dim: int,
sorted: bool = True,
return_inverse: bool = False,
return_counts: bool = False,
return_inverse: bool = False, # pylint: disable=unused-argument
return_counts: bool = False, # pylint: disable=unused-argument
) -> tuple[TensorType, TensorType, TensorType]:
"""unique_dim(Tensor self, int dim, bool sorted=True, bool return_inverse=False, bool return_counts=False) -> (Tensor, Tensor, Tensor)"""

Expand Down

0 comments on commit 56c06cf

Please sign in to comment.