Skip to content

Commit

Permalink
Function args modification
Browse files Browse the repository at this point in the history
  • Loading branch information
Aryan Sharma authored and Aryan Sharma committed Sep 14, 2023
1 parent d05ffc2 commit 230e917
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ivy/functional/frontends/paddle/math.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,8 @@ def cosh(x, name=None):
"paddle",
)
@to_ivy_arrays_and_back
def count_nonzero(x, axis=None, dtype=None, keepdims=False, name=None):
return ivy.astype(
ivy.count_nonzero(x, axis=axis, dtype=dtype, keepdims=keepdims), ivy.int64
)
def count_nonzero(x, axis=None, keepdims=False, name=None):
return ivy.astype(ivy.count_nonzero(x, axis=axis, keepdims=keepdims), ivy.int64)


@with_supported_dtypes(
Expand Down

0 comments on commit 230e917

Please sign in to comment.