code: def _argsort(
      values, axis=-1, direction="ASCENDING", stable=False, name=None
  ):  # pylint: disable=unused-argument
      """Numpy implementation of `tf.argsort`."""
      if direction == "ASCENDING":
          pass
      elif direction == "DESCENDING":
          values = np.negative(values)
      else:
          raise ValueError(
              "Unrecognized direction: {}.".format(direction)
          )
      return np.argsort(
          values, axis, kind="stable" if stable else "quicksort"
      ).astype(np.int32)
  
file_path: probability/tensorflow_probability/python/internal/backend/numpy/misc.py
imports: import collections
  import numpy
  from tensorflow_probability.python.internal.backend.numpy import _utils
  from tensorflow_probability.python.internal.backend.numpy import errors
  from tensorflow_probability.python.internal.backend.numpy.numpy_math import floor
  from tensorflow_probability.python.internal.backend.numpy.numpy_math import truediv
  from tensorflow_probability.python.internal.backend.numpy.ops import _convert_to_tensor
  from tensorflow_probability.python.internal.backend.numpy.ops import clip_by_value
  from tensorflow_probability.python.internal.backend.numpy.ops import is_tensor
label_desc: Use image node_id 1 for calling a global function with example usage: _argsort(values, axis, direction, stable, name) and returns: np