Skip to content

Commit

Permalink
tensor math.py func
Browse files Browse the repository at this point in the history
  • Loading branch information
TangoIndiaMango committed Aug 3, 2023
1 parent b56a6d0 commit 762214b
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions ivy/functional/frontends/paddle/tensor/math.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,3 +398,25 @@ def prod(x, axis=None, keepdim=False, dtype=None, name=None):
@to_ivy_arrays_and_back
def any(x, axis=None, keepdim=False, name=None):
return ivy.any(x, axis=axis, keepdims=keepdim)


@with_supported_dtypes(
{"2.5.1 and below": ("float32", "float64", "int32", "int64")}, "paddle"
)
@to_ivy_arrays_and_back
def add_n(inputs, name=None):
return ivy.add_n(inputs)


@with_supported_dtypes(
{"2.5.0 and below": ("bfloat16", "float32", "float64")}, "paddle"
)
@to_ivy_arrays_and_back
def digamma(x, name=None):
return ivy.digamma(x)


@with_unsupported_dtypes({"2.5.0 and below": "bool"}, "paddle")
@to_ivy_arrays_and_back
def erfinv(x, name=None):
return ivy.erfinv(x)

0 comments on commit 762214b

Please sign in to comment.