Skip to content

Commit

Permalink
fix: fixed softplus at tf frontend (#28609)
Browse files Browse the repository at this point in the history
  • Loading branch information
samthakur587 authored Mar 16, 2024
1 parent aec6e1d commit 0348e8b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ivy/functional/backends/paddle/activations.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ def softmax(
return paddle.divide(exp_x, paddle.sum(exp_x, axis=axis, keepdim=True))


@with_unsupported_device_and_dtypes(
{"2.6.0 and below": {"cpu": ("float16", "bfloat16")}}, backend_version
)
def softplus(
x: paddle.Tensor,
/,
Expand Down

0 comments on commit 0348e8b

Please sign in to comment.