docstr: ivy.Array instance method variant of ivy.soft_thresholding. This
  method simply wraps the function, and so the docstring for
  ivy.soft_thresholding also applies to this method with minimal changes.
  
  Parameters
  ----------
  x
      input array
  threshold
      float or array with shape tensor.shape
      * If float the threshold is applied to the whole tensor
      * If array, one threshold is applied per elements, 0 values are ignored
  out
      optional output array, for writing the result to.
  
  Returns
  -------
  ivy.Array
      thresholded tensor on which the operator has been applied
code: def soft_thresholding(
      self: Union[ivy.Array, ivy.NativeArray],
      /,
      threshold: Union[float, ivy.Array, ivy.NativeArray],
      *,
      out: Optional[ivy.Array] = None,
  ) -> ivy.Array:
      """ivy.Array instance method variant of ivy.soft_thresholding. This
      method simply wraps the function, and so the docstring for
      ivy.soft_thresholding also applies to this method with minimal changes.
  
      Parameters
      ----------
      x
          input array
      threshold
          float or array with shape tensor.shape
          * If float the threshold is applied to the whole tensor
          * If array, one threshold is applied per elements, 0 values are ignored
      out
          optional output array, for writing the result to.
  
      Returns
      -------
      ivy.Array
          thresholded tensor on which the operator has been applied
      """
      return ivy.soft_thresholding(self._data, threshold, out=out)
  
imports: import abc
  from typing import Optional, Union, Sequence, Tuple, List, Iterable, Callable, Literal, Any
  from numbers import Number
  import ivy
  from ivy import handle_view
label_desc: Use image node_id 35 for calling the _ArrayWithManipulationExperimental obj's underlying member method code with example usage: obj.soft_thresholding(threshold) and returns: ivy