code: def unique_values(x):
      """
      Returns the unique elements of an input array `x`.
  
      Notes
      -----
      `unique_values` is a standard API in
      https://data-apis.org/array-api/latest/API_specification/set_functions.html#unique-values-x
      instead of an official NumPy operator.
  
      Parameters
      ----------
      x : ndarray
          Input array. This will be flattened if it is not already 1-D.
  
      Returns
      -------
      out : ndarray
          The sorted unique values.
      """
      return _mx_nd_np.unique(x, False, False, False)
  
imports: from collections import namedtuple
  from ..ndarray import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: unique_values(x) and returns: _mx_nd_np