From 944b31379f511ea0533f14ffa2b7ede732d6ad98 Mon Sep 17 00:00:00 2001 From: samthakur587 Date: Fri, 15 Mar 2024 03:33:36 +0530 Subject: [PATCH] fix: fixed softplus at tf frontend --- ivy/functional/backends/paddle/activations.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ivy/functional/backends/paddle/activations.py b/ivy/functional/backends/paddle/activations.py index 8ddaff5b70a09..6e75c37da1c7c 100644 --- a/ivy/functional/backends/paddle/activations.py +++ b/ivy/functional/backends/paddle/activations.py @@ -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, /,