Skip to content

Commit

Permalink
auto-lint code
Browse files Browse the repository at this point in the history
  • Loading branch information
ivy-dev-bot committed Jul 1, 2024
1 parent 1e0bad6 commit bd4e642
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ivy/functional/frontends/torch/linalg.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@

@to_ivy_arrays_and_back
@with_supported_dtypes(
{"2.2 and below": ("float32", "float64", "complex32", "complex64", "complex128")}, "torch"
{"2.2 and below": ("float32", "float64", "complex32", "complex64", "complex128")},
"torch",
)
def cholesky(input, *, upper=False, out=None):
return ivy.cholesky(input, upper=upper, out=out)
Expand Down
11 changes: 10 additions & 1 deletion ivy/functional/frontends/torch/tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1895,7 +1895,16 @@ def addcdiv_(self, tensor1, tensor2, *, value=1):
return self

@with_supported_dtypes(
{"2.2 and below": ("float32", "float64", "complex32", "complex64", "complex128")}, "torch"
{
"2.2 and below": (
"float32",
"float64",
"complex32",
"complex64",
"complex128",
)
},
"torch",
)
def cholesky(self, upper=False):
return torch_frontend.cholesky(self, upper=upper)
Expand Down

0 comments on commit bd4e642

Please sign in to comment.