Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
AliTarekk committed Aug 27, 2023
1 parent faa03fc commit 9b21e6c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ivy/functional/frontends/paddle/tensor/tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,9 @@ def std(self, axis=None, unbiased=True, keepdim=False, name=None):
def trunc(self, name=None):
return paddle_frontend.Tensor(ivy.trunc(self._ivy_array))

@with_supported_dtypes({"2.4.2 and below": ("uint16", "float16", "float32", "float64")}, "paddle")
@with_supported_dtypes(
{"2.4.2 and below": ("uint16", "float16", "float32", "float64")}, "paddle"
)
def nanmean(self, axis=None, keepdim=False, name=None):
return paddle_frontend.Tensor(
ivy.nanmean(self._ivy_array, axis=axis, keepdims=keepdim)
Expand Down

0 comments on commit 9b21e6c

Please sign in to comment.