code: def digamma(
      x: Union[ivy.Array, ivy.NativeArray],
      /,
      *,
      out: Optional[ivy.Array] = None,
  ) -> ivy.Array:
      """Compute the logarithmic derivative of the gamma function at x.
  
      Note
      ----
      The Ivy version only accepts real-valued inputs.
  
      Parameters
      ----------
      x
          Input array.
      out
          Alternate output array in which to place the result.
          The default is None.
  
      Returns
      -------
      ret
          Array with values computed from digamma function from
          input arrays' values, element-wise.
  
      Examples
      --------
      >>> x = ivy.array([.9, 3, 3.2])
      >>> y = ivy.digamma(x)
      ivy.array([-0.7549271   0.92278427  0.9988394])
      """
      return ivy.current_backend(x).digamma(x, out=out)
  
imports: from typing import Optional, Union, Tuple, List, Sequence
  from numbers import Number
  import ivy
  from ivy.func_wrapper import handle_out_argument, to_native_arrays_and_back, handle_nestable, handle_partial_mixed_function, handle_array_like_without_promotion, inputs_to_ivy_arrays, handle_array_function, infer_dtype, handle_device, handle_backend_invalid
  from ivy.utils.exceptions import handle_exceptions
label_desc: Use image node_id 26 for calling a global function with example usage: digamma() and returns: ivy