code: def softshrink(
      x: np.ndarray,
      /,
      *,
      lambd: float = 0.5,
      out: Optional[np.ndarray] = None,
  ) -> np.ndarray:
      ret = np.where(
          x > lambd, x - lambd, np.where(x < -lambd, x + lambd, 0)
      )
      if ivy.exists(out):
          return ivy.inplace_update(out, ret).astype(x.dtype)
      return ivy.astype(ret, x.dtype)
  
file_path: ivy/ivy/functional/backends/numpy/experimental/activations.py
imports: from typing import Optional, Union, Literal
  import numpy
  import ivy
  from ivy.functional.backends.numpy.helpers import _scalar_output_to_0d_array
  from ivy.func_wrapper import with_unsupported_dtypes
  from .None import backend_version
label_desc: Use image node_id 12 for calling a global function with example usage: softshrink() and returns: ivy, ivy