code: def softshrink(input, lambd=0.5):
      low = ivy.where(ivy.less(input, -lambd), ivy.add(input, lambd), 0)
      up = ivy.where(
          ivy.greater(input, lambd), ivy.subtract(input, lambd), 0
      )
      return ivy.add(low, up)
  
imports: import ivy
  from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
  from ivy.functional.frontends.torch.func_wrapper import to_ivy_arrays_and_back
label_desc: Use image node_id 33 for calling a global function with example usage: softshrink(input, lambd) and returns: ivy